diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-03-08 14:30:14 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-03-08 14:31:56 (GMT) |
commit | b4519f022e8b715991836894fe97b6338ef7ee2b (patch) | |
tree | 147474193c97ff996767c56e5a2b7e0a71bc4ad8 /demos | |
parent | d6e302a1a9bb05f000709830d865441ca7ab8c45 (diff) | |
download | Qt-b4519f022e8b715991836894fe97b6338ef7ee2b.zip Qt-b4519f022e8b715991836894fe97b6338ef7ee2b.tar.gz Qt-b4519f022e8b715991836894fe97b6338ef7ee2b.tar.bz2 |
fix to mainwindow demo
the mask was not always correctly updated on the "blueTitleBar".
Reviewed-by: gabi
Diffstat (limited to 'demos')
-rw-r--r-- | demos/mainwindow/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/mainwindow/mainwindow.cpp b/demos/mainwindow/mainwindow.cpp index 32066d7..3ddb74b 100644 --- a/demos/mainwindow/mainwindow.cpp +++ b/demos/mainwindow/mainwindow.cpp @@ -329,7 +329,7 @@ void MainWindow::setupDockWidgets(const QMap<QString, QSize> &customSizeHints) BlueTitleBar *titlebar = new BlueTitleBar(swatch); swatch->setTitleBarWidget(titlebar); connect(swatch, SIGNAL(topLevelChanged(bool)), titlebar, SLOT(updateMask())); - connect(swatch, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), titlebar, SLOT(updateMask())); + connect(swatch, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), titlebar, SLOT(updateMask()), Qt::QueuedConnection); #ifdef Q_WS_QWS QPalette pal = palette(); |