forked from qt-creator/qt-creator
Remove compile warning on Symbian.
Reviewed-By: TrustMe
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user