From 3b8b47db6aaeb333f106cff57cc712b01d828302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Thu, 13 Feb 2014 14:14:44 +0100 Subject: Set unified toolbar height accurately. Add registerContentBorderArea() to the Cocoa native interface which allows registering multiple "unified toolbar" areas for each window. Use this function in QToolBarLayout::setGeometry() to register the area for each TopToolBarArea toolbar. Task-number: QTBUG-36700 Change-Id: I52efcc5662556bb94f25f504be3710d0491f79b9 Reviewed-by: Jake Petroules Reviewed-by: Gabriel de Dietrich Reviewed-by: Denis Dzyubenko --- src/widgets/widgets/qtoolbarlayout_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/widgets/qtoolbarlayout_p.h') diff --git a/src/widgets/widgets/qtoolbarlayout_p.h b/src/widgets/widgets/qtoolbarlayout_p.h index 8605a9a6ac..b250f3adee 100644 --- a/src/widgets/widgets/qtoolbarlayout_p.h +++ b/src/widgets/widgets/qtoolbarlayout_p.h @@ -111,6 +111,7 @@ public: void updateMarginAndSpacing(); bool hasExpandFlag() const; + void updateMacBorderMetrics(); public Q_SLOTS: void setExpanded(bool b); -- cgit v1.2.3