summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qtoolbar.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-27 03:52:16 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-27 05:10:06 (GMT)
commit62c33357cec8924f2383042c544636ec5aae1c97 (patch)
tree3c1c6f975710807d10546631b58fb0c52bd2fb50 /src/gui/widgets/qtoolbar.cpp
parent4b112230229544b13c254acd8a10b67939c79f22 (diff)
parentc52061e7980fcde5d59a7657a254ce00d117b611 (diff)
downloadQt-62c33357cec8924f2383042c544636ec5aae1c97.zip
Qt-62c33357cec8924f2383042c544636ec5aae1c97.tar.gz
Qt-62c33357cec8924f2383042c544636ec5aae1c97.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Conflicts: src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
Diffstat (limited to 'src/gui/widgets/qtoolbar.cpp')
-rw-r--r--src/gui/widgets/qtoolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qtoolbar.cpp b/src/gui/widgets/qtoolbar.cpp
index bf44ea1..89e6d7a 100644
--- a/src/gui/widgets/qtoolbar.cpp
+++ b/src/gui/widgets/qtoolbar.cpp
@@ -391,7 +391,7 @@ bool QToolBarPrivate::mouseMoveEvent(QMouseEvent *event)
void QToolBarPrivate::unplug(const QRect &_r)
{
Q_Q(QToolBar);
-
+ layout->setExpanded(false, false);
QRect r = _r;
r.moveTopLeft(q->mapToGlobal(QPoint(0, 0)));
setWindowState(true, true, r);