summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-08-26 15:24:32 +0200
committerEike Ziller <eike.ziller@digia.com>2014-08-26 15:57:58 +0200
commit0fec5584865b37dd05de3a19158f5a6012f86cda (patch)
tree152fcec99cbe84838baa6c22cf46de27dbcff47b /src
parent9d95afc803abe0cb41e882c780d05fe646ae13f2 (diff)
downloadqt-creator-0fec5584865b37dd05de3a19158f5a6012f86cda.tar.gz
FancyMainWindow: Don't relay enter events as leave events
Change-Id: Ia92929d69d8d25b926be3061dbe3ee5dc95ff44a (cherry picked from commit f6fea87a4d2ddb3bf70b702a1c140e336beaddbb) Reviewed-by: Ulf Hermann <ulf.hermann@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/libs/utils/fancymainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/fancymainwindow.cpp b/src/libs/utils/fancymainwindow.cpp
index 62c3d91255..c05b0540e2 100644
--- a/src/libs/utils/fancymainwindow.cpp
+++ b/src/libs/utils/fancymainwindow.cpp
@@ -248,7 +248,7 @@ public:
void enterEvent(QEvent *event)
{
QApplication::instance()->installEventFilter(this);
- QDockWidget::leaveEvent(event);
+ QDockWidget::enterEvent(event);
}
void leaveEvent(QEvent *event)