diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-10-15 23:18:09 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-15 19:40:16 -0700 |
commit | 22afca58bf14e114f23b44f5b24c6692985bd21c (patch) | |
tree | 42dd3cf27d187f6f684f9e4377d211d951dcd211 /qt-ui/profilegraphics.h | |
parent | c59d594e00e95be970b90b7cdd110a89ceeced2b (diff) | |
download | subsurface-22afca58bf14e114f23b44f5b24c6692985bd21c.tar.gz |
Fixed the moving around of the InfoPanel on non KDE enviroments.
This patch restores the ability to move the info-overlay panel on the
profile. For some reason the eventFilter wasn't working (and actually,
looking at the code, it really shouldn't, because I didn't see where I set
it to work, maybe someone (me) broke it a long time ago) well, it seems
fixed now at least. :)
Tested on XFCE, Gnome and KDE, with three different window managers.
[Dirk Hohndel: removed debug output]
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/profilegraphics.h b/qt-ui/profilegraphics.h index a45243ba3..7fe4f9ff7 100644 --- a/qt-ui/profilegraphics.h +++ b/qt-ui/profilegraphics.h @@ -39,9 +39,7 @@ public: bool isExpanded(); void persistPos(); void readPos(); - void mousePressEvent(QGraphicsSceneMouseEvent* event); void mouseReleaseEvent(QGraphicsSceneMouseEvent* event); - bool eventFilter(QObject* , QEvent* ); public slots: void setRect(const QRectF& rect); @@ -53,7 +51,6 @@ private: QGraphicsSimpleTextItem *title; Status status; QRectF rectangle; - bool dragging; QRectF nextRectangle; }; |