summaryrefslogtreecommitdiffstats
path: root/examples/effects/lighting
diff options
context:
space:
mode:
Diffstat (limited to 'examples/effects/lighting')
-rw-r--r--examples/effects/lighting/lighting.cpp3
-rw-r--r--examples/effects/lighting/lighting.pro2
-rw-r--r--examples/effects/lighting/main.cpp4
3 files changed, 0 insertions, 9 deletions
diff --git a/examples/effects/lighting/lighting.cpp b/examples/effects/lighting/lighting.cpp
index 4532fafe25..3c9fed7ec7 100644
--- a/examples/effects/lighting/lighting.cpp
+++ b/examples/effects/lighting/lighting.cpp
@@ -136,7 +136,4 @@ void Lighting::animate()
void Lighting::resizeEvent(QResizeEvent */*event*/)
{
-#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
- fitInView(sceneRect(), Qt::KeepAspectRatio);
-#endif
}
diff --git a/examples/effects/lighting/lighting.pro b/examples/effects/lighting/lighting.pro
index 1876a7b3af..16be936b26 100644
--- a/examples/effects/lighting/lighting.pro
+++ b/examples/effects/lighting/lighting.pro
@@ -8,6 +8,4 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/lighting
INSTALLS += target sources
QT += widgets
-symbian: CONFIG += qt_example
-maemo5: CONFIG += qt_example
diff --git a/examples/effects/lighting/main.cpp b/examples/effects/lighting/main.cpp
index fff3d73f2a..69063a5672 100644
--- a/examples/effects/lighting/main.cpp
+++ b/examples/effects/lighting/main.cpp
@@ -48,12 +48,8 @@ int main(int argc, char **argv)
Lighting lighting;
lighting.setWindowTitle(QT_TRANSLATE_NOOP(QGraphicsView, "Lighting and Shadows"));
-#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
- lighting.showMaximized();
-#else
lighting.resize(640, 480);
lighting.show();
-#endif
return app.exec();
}