summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-12-04 23:53:53 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-04 19:41:29 -0800
commit441838def098267aa2c7c81f22eba7c16b58d2ca (patch)
tree2214d8147f0174c3aeecc7aa74f3ad1e7778e285 /qt-ui/profilegraphics.h
parentd3a56c137be5cb8fb49e9d7b4ae4568759946e26 (diff)
downloadsubsurface-441838def098267aa2c7c81f22eba7c16b58d2ca.tar.gz
Different Icon for a Bookmark Event.
This patch adds a different icon for a Bookmark Event, and it also cleaned a lot of code. :) See #300 [Dirk Hohndel: made the two icons slightly bigger] Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profilegraphics.h')
-rw-r--r--qt-ui/profilegraphics.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h
index 2cd5b44d2..be9c707ba 100644
--- a/qt-ui/profilegraphics.h
+++ b/qt-ui/profilegraphics.h
@@ -97,7 +97,7 @@ private:
int paint_direction;
};
-class EventItem : public QGraphicsPolygonItem
+class EventItem : public QGraphicsPixmapItem
{
public:
explicit EventItem(struct event *ev, QGraphicsItem* parent = 0, bool grayscale = FALSE);
@@ -106,7 +106,6 @@ public:
private:
ToolTipItem *controller;
QString text;
- QIcon icon;
bool isGrayscale;
QColor getColor(const color_indice_t i);