mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
c59d594e00
commit
22afca58bf
2 changed files with 2 additions and 21 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue