summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-06-10 12:41:33 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-06-10 12:45:15 (GMT)
commit08618c4d4e7b3d99ffa2b56ea03fa4e25de101bd (patch)
treeedc1a21f02d5b985b0a9b845160a87eb34317bb1 /src/gui/widgets
parent62725a02652cee576efe055d1371765945045026 (diff)
downloadQt-08618c4d4e7b3d99ffa2b56ea03fa4e25de101bd.zip
Qt-08618c4d4e7b3d99ffa2b56ea03fa4e25de101bd.tar.gz
Qt-08618c4d4e7b3d99ffa2b56ea03fa4e25de101bd.tar.bz2
Fix some possible double connected signals
Task-number: 250147 Reviewed-by: Thierry
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qtoolbarlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qtoolbarlayout.cpp b/src/gui/widgets/qtoolbarlayout.cpp
index 0bfa493..0af2b65 100644
--- a/src/gui/widgets/qtoolbarlayout.cpp
+++ b/src/gui/widgets/qtoolbarlayout.cpp
@@ -128,7 +128,7 @@ void QToolBarLayout::setUsePopupMenu(bool set)
invalidate();
if (!set) {
QObject::connect(extension, SIGNAL(clicked(bool)),
- this, SLOT(setExpanded(bool)));
+ this, SLOT(setExpanded(bool)), Qt::UniqueConnection);
extension->setPopupMode(QToolButton::DelayedPopup);
extension->setMenu(0);
delete popupMenu;