diff options
Diffstat (limited to 'shoplist/src/main.cpp')
-rw-r--r-- | shoplist/src/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/shoplist/src/main.cpp b/shoplist/src/main.cpp index 69e471e..87a6761 100644 --- a/shoplist/src/main.cpp +++ b/shoplist/src/main.cpp @@ -32,11 +32,13 @@ #include <QtGui> #include <QDebug> +#include "system.h" #include "maincontainer.h" #include "designinformation.h" #include "shoppinglistcategoryui.h" #include "shoppinglistview.h" + static ShoppingListCategoryUI *createList(const QString &category, int itemCount) { ShoppingListCategoryUI *result = new ShoppingListCategoryUI(category); @@ -80,10 +82,13 @@ int main(int argc, char *argv[]) scene.addItem(lists); -#ifdef Q_OS_SYMBIAN + System::setViewMode(&view, System::PortraitMode); + +#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) view.showFullScreen(); #else view.show(); #endif + return app.exec(); } |