diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-08-13 17:17:50 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-08-13 17:22:22 +0200 |
commit | b372f9db029fc199c63ddb20d0bf1121331cdd92 (patch) | |
tree | 1929d037b96c9fdf4228604c17953cbc3ac4b273 /src/libs/qmleditorwidgets/contextpanewidget.h | |
parent | 36c40b985b63b5cb0a8296e07643554d5aeb5f55 (diff) | |
download | qt-creator-b372f9db029fc199c63ddb20d0bf1121331cdd92.tar.gz |
QuickToolBar: use absolute positioning for dragging
This resolves several usability bugs.
Diffstat (limited to 'src/libs/qmleditorwidgets/contextpanewidget.h')
-rw-r--r-- | src/libs/qmleditorwidgets/contextpanewidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmleditorwidgets/contextpanewidget.h b/src/libs/qmleditorwidgets/contextpanewidget.h index 129d24a1b7..d7d4d83b47 100644 --- a/src/libs/qmleditorwidgets/contextpanewidget.h +++ b/src/libs/qmleditorwidgets/contextpanewidget.h @@ -68,7 +68,7 @@ protected: private: QGraphicsDropShadowEffect *m_dropShadowEffect; QGraphicsOpacityEffect *m_opacityEffect; - QPoint m_oldPos; + QPoint m_startPos; QWeakPointer<QWidget> m_secondaryTarget; }; |