diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-11-01 19:25:19 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-11-01 19:25:19 +0100 |
commit | 48d726b37e046bf6c84349d5239c7d24272488ac (patch) | |
tree | 735071fb6fd51f52cb22f170787ae2e1b027dc0e /share | |
parent | 2a7336b4d661466f31ee487b95ec44d54df88792 (diff) | |
download | qt-creator-48d726b37e046bf6c84349d5239c7d24272488ac.tar.gz |
Remove compile warning on Symbian.
Reviewed-By: TrustMe
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/templates/mobileapp/mainwindow.cpp | 1 | ||||
-rw-r--r-- | share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/templates/mobileapp/mainwindow.cpp b/share/qtcreator/templates/mobileapp/mainwindow.cpp index a7aa0badef..aad030d8aa 100644 --- a/share/qtcreator/templates/mobileapp/mainwindow.cpp +++ b/share/qtcreator/templates/mobileapp/mainwindow.cpp @@ -42,6 +42,7 @@ void MainWindow::setOrientation(ScreenOrientation orientation) if (appUi) appUi->SetOrientationL(uiOrientation); ); + Q_UNUSED(error) #else // ORIENTATIONLOCK qWarning("'ORIENTATIONLOCK' needs to be defined on Symbian when locking the orientation."); #endif // ORIENTATIONLOCK diff --git a/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp b/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp index 03b9820fa4..5fdc94c8cd 100644 --- a/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp +++ b/share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp @@ -99,6 +99,7 @@ void QmlApplicationViewer::setOrientation(ScreenOrientation orientation) if (appUi) appUi->SetOrientationL(uiOrientation); ); + Q_UNUSED(error) #else // ORIENTATIONLOCK qWarning("'ORIENTATIONLOCK' needs to be defined on Symbian when locking the orientation."); #endif // ORIENTATIONLOCK |