forked from qt-creator/qt-creator
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:
@@ -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)
|
|||||||
|
|
||||||
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)
|
|||||||
|
|
||||||
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user