summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-07-26 09:44:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-03 11:24:28 +0200
commitdbe4b45f9b5149f80f8292b61be68b4020a05b55 (patch)
tree69705aff124eff4d219ca80fec35695606c1fdd8 /examples
parent621e434ffeb7b43ee49a751def8a6eb79173f89b (diff)
Remove some dead code wrapped in Q_WS_QWS.
Change-Id: Ie1ee8c4af603b924abe40145041357981d174445 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
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);