From f7b51ba9a7ff88629d430d49b5785c17f8271ba8 Mon Sep 17 00:00:00 2001 From: Adriano Rezende Date: Tue, 17 Nov 2009 15:50:11 -0300 Subject: Adjusted projects to handle hildon portrait mode Signed-off-by: Adriano Rezende --- hyperui/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hyperui/main.cpp') 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(); -- cgit v1.2.3