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)
|
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)
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user