summaryrefslogtreecommitdiffstats
path: root/shoplist
diff options
context:
space:
mode:
authorJesus Sanchez-Palencia <jesus.palencia@openbossa.org>2009-10-28 16:19:02 -0300
committerJesus Sanchez-Palencia <jesus.palencia@openbossa.org>2009-10-28 16:19:02 -0300
commitdf8ac5b683d1d5b2e1604829194547f82a4906b5 (patch)
tree180e2548af7a12883e0d5ed56a455de8d314cdc4 /shoplist
parent2f559b3febfd8d7768cb2ffe837523829412da57 (diff)
ShopList: Adding Fullscreen mode when running on symbian
Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Diffstat (limited to 'shoplist')
-rw-r--r--shoplist/src/main.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/shoplist/src/main.cpp b/shoplist/src/main.cpp
index 659df44..69e471e 100644
--- a/shoplist/src/main.cpp
+++ b/shoplist/src/main.cpp
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
QObject::connect(QApplication::desktop(), SIGNAL(resized(int)), &view, SLOT(resized(int)));
-
+
view.adjustScalingFactor();
view.adjustScreenSize();
@@ -77,9 +77,13 @@ int main(int argc, char *argv[])
lists->add(createList("garden", 80));
lists->add(createList("pet", 100));
lists->add(createList("toiletries", 200));
-
+
scene.addItem(lists);
+#ifdef Q_OS_SYMBIAN
+ view.showFullScreen();
+#else
view.show();
+#endif
return app.exec();
}