summaryrefslogtreecommitdiff
path: root/examples/embedded/weatherinfo/weatherinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embedded/weatherinfo/weatherinfo.cpp')
-rw-r--r--examples/embedded/weatherinfo/weatherinfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/embedded/weatherinfo/weatherinfo.cpp b/examples/embedded/weatherinfo/weatherinfo.cpp
index 86af1ee..89fc8ab 100644
--- a/examples/embedded/weatherinfo/weatherinfo.cpp
+++ b/examples/embedded/weatherinfo/weatherinfo.cpp
@@ -89,9 +89,6 @@ public:
QAction *action = new QAction(cities[i], this);
connect(action, SIGNAL(triggered()), SLOT(chooseCity()));
addAction(action);
-#if defined(Q_OS_SYMBIAN)
- menuBar()->addAction(action);
-#endif
}
setContextMenuPolicy(Qt::ActionsContextMenu);
@@ -492,12 +489,8 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
WeatherInfo w;
-#if defined(Q_OS_SYMBIAN)
- w.showMaximized();
-#else
w.resize(520, 288);
w.show();
-#endif
return app.exec();
}