summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qtoolbarlayout_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-26 11:49:42 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-26 12:11:33 (GMT)
commitb5f00cdc0a63ea598d7af908240f0de5ac141262 (patch)
tree6b531bf6f5901ae4e628d0075e22d328d4bfccd9 /src/gui/widgets/qtoolbarlayout_p.h
parente9ffb5b0918e800edfba6b697c7a14ef6c7fa8e1 (diff)
downloadQt-b5f00cdc0a63ea598d7af908240f0de5ac141262.zip
Qt-b5f00cdc0a63ea598d7af908240f0de5ac141262.tar.gz
Qt-b5f00cdc0a63ea598d7af908240f0de5ac141262.tar.bz2
QToolbar now collapses when dragged
Previously it wouldn't and the layout could appear to be broken. Task-number: 248817 Reviewed-by: Gabriel De Dietrich
Diffstat (limited to 'src/gui/widgets/qtoolbarlayout_p.h')
-rw-r--r--src/gui/widgets/qtoolbarlayout_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qtoolbarlayout_p.h b/src/gui/widgets/qtoolbarlayout_p.h
index fe81d2f..bb40e215 100644
--- a/src/gui/widgets/qtoolbarlayout_p.h
+++ b/src/gui/widgets/qtoolbarlayout_p.h
@@ -111,8 +111,8 @@ public:
void updateMarginAndSpacing();
bool hasExpandFlag() const;
-public slots:
- void setExpanded(bool b);
+public Q_SLOTS:
+ void setExpanded(bool b, bool animated = true);
private:
QList<QToolBarItem*> items;