Remove compile warning on Symbian.

Reviewed-By: TrustMe
This commit is contained in:
Alessandro Portale
2010-11-01 19:25:19 +01:00
parent 2a7336b4d6
commit 48d726b37e
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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