Skip to content
Snippets Groups Projects
Commit 48d726b3 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Remove compile warning on Symbian.

Reviewed-By: TrustMe
parent 2a7336b4
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ void MainWindow::setOrientation(ScreenOrientation orientation) ...@@ -42,6 +42,7 @@ void MainWindow::setOrientation(ScreenOrientation orientation)
if (appUi) if (appUi)
appUi->SetOrientationL(uiOrientation); appUi->SetOrientationL(uiOrientation);
); );
Q_UNUSED(error)
#else // ORIENTATIONLOCK #else // ORIENTATIONLOCK
qWarning("'ORIENTATIONLOCK' needs to be defined on Symbian when locking the orientation."); qWarning("'ORIENTATIONLOCK' needs to be defined on Symbian when locking the orientation.");
#endif // ORIENTATIONLOCK #endif // ORIENTATIONLOCK
......
...@@ -99,6 +99,7 @@ void QmlApplicationViewer::setOrientation(ScreenOrientation orientation) ...@@ -99,6 +99,7 @@ void QmlApplicationViewer::setOrientation(ScreenOrientation orientation)
if (appUi) if (appUi)
appUi->SetOrientationL(uiOrientation); appUi->SetOrientationL(uiOrientation);
); );
Q_UNUSED(error)
#else // ORIENTATIONLOCK #else // ORIENTATIONLOCK
qWarning("'ORIENTATIONLOCK' needs to be defined on Symbian when locking the orientation."); qWarning("'ORIENTATIONLOCK' needs to be defined on Symbian when locking the orientation.");
#endif // ORIENTATIONLOCK #endif // ORIENTATIONLOCK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment