summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-26 10:04:36 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-26 10:04:36 (GMT)
commita5188742e4666f5181f85745677abfbf9e658076 (patch)
tree9f6727e1db197768e5d2f2c6d38aa7f087b1636f /src/gui
parent0015e9ba53ab0e6a7005b18823513aec63df6939 (diff)
parenta6b28c1c73e33d779de8c905be935c014704b379 (diff)
downloadQt-a5188742e4666f5181f85745677abfbf9e658076.zip
Qt-a5188742e4666f5181f85745677abfbf9e658076.tar.gz
Qt-a5188742e4666f5181f85745677abfbf9e658076.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/qmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmenu.cpp b/src/gui/widgets/qmenu.cpp
index b5348f2..2b098c0 100644
--- a/src/gui/widgets/qmenu.cpp
+++ b/src/gui/widgets/qmenu.cpp
@@ -2262,7 +2262,7 @@ void QMenu::mouseReleaseEvent(QMouseEvent *e)
break;
}
}
- if (e->button() || isContextMenu)
+ if (e->button() == Qt::LeftButton || isContextMenu)
#endif
d->activateAction(action, QAction::Trigger);
}