summaryrefslogtreecommitdiffstats
path: root/hyperui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyperui/main.cpp')
-rw-r--r--hyperui/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/hyperui/main.cpp b/hyperui/main.cpp
index 21ab3e4..6589b0b 100644
--- a/hyperui/main.cpp
+++ b/hyperui/main.cpp
@@ -68,9 +68,10 @@ int main(int argc, char **argv)
scene.addItem(&mainWindow);
mainWindow.setGeometry(0, 0, width, height);
-#ifdef Q_OS_SYMBIAN
+ System::setViewMode(&view, System::PortraitMode);
+
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
view.showFullScreen();
- System::setViewMode(System::PortraitMode);
#else
view.setFixedSize(width, height);
view.show();