summaryrefslogtreecommitdiffstats
path: root/hyperui/main.cpp
diff options
context:
space:
mode:
authorAdriano Rezende <adriano.rezende@openbossa.org>2009-11-17 15:50:11 -0300
committerAdriano Rezende <adriano.rezende@openbossa.org>2009-11-17 17:46:15 -0300
commitf7b51ba9a7ff88629d430d49b5785c17f8271ba8 (patch)
tree648aff29a1d3f9f12d742c491b4269befee8b9bd /hyperui/main.cpp
parenta356e26d4825fc5a3cf877c3570af9414a7601e6 (diff)
Adjusted projects to handle hildon portrait mode
Signed-off-by: Adriano Rezende <adriano.rezende@openbossa.org>
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();