diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-07-26 09:55:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-26 10:23:50 +0200 |
commit | a4caa6540bbc80bf5afbdba5ddad2a873e92e274 (patch) | |
tree | af47c120295e8d3846fdcf84cf89ec2f305b1163 /examples/embedded/fluidlauncher | |
parent | 6f8225417c42958e2f5e56341b369e3d0ebe4726 (diff) | |
download | qtsvg-a4caa6540bbc80bf5afbdba5ddad2a873e92e274.tar.gz |
Remove obsolete use of Q_WS_QWS.
Change-Id: I9733a86f079ffde911840eb37136f2c02cb96c76
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'examples/embedded/fluidlauncher')
-rw-r--r-- | examples/embedded/fluidlauncher/pictureflow.cpp | 9 |
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() |