From dbe4b45f9b5149f80f8292b61be68b4020a05b55 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 26 Jul 2012 09:44:05 +0200 Subject: Remove some dead code wrapped in Q_WS_QWS. Change-Id: Ie1ee8c4af603b924abe40145041357981d174445 Reviewed-by: Paul Olav Tvete --- examples/mainwindows/mainwindow/mainwindow.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples') 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 &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); -- cgit v1.2.3