diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2014-05-08 00:50:47 -0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-22 02:52:54 +0200 |
commit | 5d2939344eb8fbd3c2115f52a7a8d47365bdf820 (patch) | |
tree | d5043b7a6485482d93b0be57f51912166bd4818a /src/widgets/widgets/qmainwindow.cpp | |
parent | a82249a47b6fe8dd6729a6cf85349d6b3346d71a (diff) |
Trigger repaint of window when toggling unified toolbar on or off.
Change-Id: I5204e5c65ae3cf84459cc62f587ecccd855e02f8
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/widgets/widgets/qmainwindow.cpp')
-rw-r--r-- | src/widgets/widgets/qmainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qmainwindow.cpp b/src/widgets/widgets/qmainwindow.cpp index 90cfb1d7cb..358569a5e4 100644 --- a/src/widgets/widgets/qmainwindow.cpp +++ b/src/widgets/widgets/qmainwindow.cpp @@ -1519,6 +1519,7 @@ void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set) typedef void (*SetContentBorderEnabledFunction)(QWindow *window, bool enable); (reinterpret_cast<SetContentBorderEnabledFunction>(function))(window()->windowHandle(), set); + update(); } #endif |