Commit 1126fad9 authored by Christian Kamm's avatar Christian Kamm
Browse files

Wizards: Use showFullScreen for Simulator builds.

Change-Id: Iad67e40f236723ddbeb7633ad950bbb2c5613c4f
Reviewed-on: http://codereview.qt.nokia.com/1507

Reviewed-by: default avatarOliver Wolff <oliver.wolff@nokia.com>
parent 94f6c17f
...@@ -183,7 +183,7 @@ void Html5ApplicationViewer::setOrientation(ScreenOrientation orientation) ...@@ -183,7 +183,7 @@ void Html5ApplicationViewer::setOrientation(ScreenOrientation orientation)
void Html5ApplicationViewer::showExpanded() void Html5ApplicationViewer::showExpanded()
{ {
#ifdef Q_OS_SYMBIAN #if defined(Q_OS_SYMBIAN) || defined(Q_WS_SIMULATOR)
showFullScreen(); showFullScreen();
#elif defined(Q_WS_MAEMO_5) #elif defined(Q_WS_MAEMO_5)
showMaximized(); showMaximized();
......
...@@ -59,7 +59,7 @@ void MainWindow::setOrientation(ScreenOrientation orientation) ...@@ -59,7 +59,7 @@ void MainWindow::setOrientation(ScreenOrientation orientation)
void MainWindow::showExpanded() void MainWindow::showExpanded()
{ {
#ifdef Q_OS_SYMBIAN #if defined(Q_OS_SYMBIAN) || defined(Q_WS_SIMULATOR)
showFullScreen(); showFullScreen();
#elif defined(Q_WS_MAEMO_5) #elif defined(Q_WS_MAEMO_5)
showMaximized(); showMaximized();
......
...@@ -146,7 +146,7 @@ void QmlApplicationViewer::setOrientation(ScreenOrientation orientation) ...@@ -146,7 +146,7 @@ void QmlApplicationViewer::setOrientation(ScreenOrientation orientation)
void QmlApplicationViewer::showExpanded() void QmlApplicationViewer::showExpanded()
{ {
#if defined(Q_OS_SYMBIAN) || defined(MEEGO_EDITION_HARMATTAN) #if defined(Q_OS_SYMBIAN) || defined(MEEGO_EDITION_HARMATTAN) || defined(Q_WS_SIMULATOR)
showFullScreen(); showFullScreen();
#elif defined(Q_WS_MAEMO_5) #elif defined(Q_WS_MAEMO_5)
showMaximized(); showMaximized();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment