summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-11-01 19:25:19 +0100
committerAlessandro Portale <alessandro.portale@nokia.com>2010-11-01 19:25:19 +0100
commit48d726b37e046bf6c84349d5239c7d24272488ac (patch)
tree735071fb6fd51f52cb22f170787ae2e1b027dc0e /share
parent2a7336b4d661466f31ee487b95ec44d54df88792 (diff)
downloadqt-creator-48d726b37e046bf6c84349d5239c7d24272488ac.tar.gz
Remove compile warning on Symbian.
Reviewed-By: TrustMe
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/templates/mobileapp/mainwindow.cpp1
-rw-r--r--share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp1
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