Wizards: Use showFullScreen for Simulator builds.

Change-Id: Iad67e40f236723ddbeb7633ad950bbb2c5613c4f
Reviewed-on: http://codereview.qt.nokia.com/1507
Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
This commit is contained in:
Christian Kamm
2011-07-12 11:47:42 +02:00
parent 94f6c17f96
commit 1126fad923
3 changed files with 3 additions and 3 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();