summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/mainwindows/mainwindow/mainwindow.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/mainwindows/mainwindow/mainwindow.cpp b/examples/mainwindows/mainwindow/mainwindow.cpp
index 4cdc45decd..2ac2b562f2 100644
--- a/examples/mainwindows/mainwindow/mainwindow.cpp
+++ b/examples/mainwindows/mainwindow/mainwindow.cpp
@@ -335,11 +335,6 @@ void MainWindow::setupDockWidgets(const QMap<QString, QSize> &customSizeHints)
connect(swatch, SIGNAL(topLevelChanged(bool)), titlebar, SLOT(updateMask()));
connect(swatch, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), titlebar, SLOT(updateMask()), Qt::QueuedConnection);
-#ifdef Q_WS_QWS
- QPalette pal = palette();
- pal.setBrush(backgroundRole(), QColor(0,0,0,0));
- swatch->setPalette(pal);
-#endif
}
QString name = QString::fromLatin1(sets[i].name);