summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/embedded/fluidlauncher/pictureflow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/embedded/fluidlauncher/pictureflow.cpp b/examples/embedded/fluidlauncher/pictureflow.cpp
index e3df9b6..1e229b7 100644
--- a/examples/embedded/fluidlauncher/pictureflow.cpp
+++ b/examples/embedded/fluidlauncher/pictureflow.cpp
@@ -77,10 +77,6 @@
#include <QWidget>
#include <QTime>
-#ifdef Q_WS_QWS
-#include <QScreen>
-#endif
-
#include <QDebug>
static const int captionFontSize =
@@ -1122,11 +1118,6 @@ PictureFlow::PictureFlow(QWidget* parent): QWidget(parent)
setAttribute(Qt::WA_StaticContents, true);
setAttribute(Qt::WA_OpaquePaintEvent, true);
setAttribute(Qt::WA_NoSystemBackground, true);
-
-#ifdef Q_WS_QWS
- if (QScreen::instance()->pixelFormat() != QImage::Format_Invalid)
- setAttribute(Qt::WA_PaintOnScreen, true);
-#endif
}
PictureFlow::~PictureFlow()