Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
48d726b3
Commit
48d726b3
authored
Nov 01, 2010
by
Alessandro Portale
Browse files
Remove compile warning on Symbian.
Reviewed-By: TrustMe
parent
2a7336b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/mobileapp/mainwindow.cpp
View file @
48d726b3
...
...
@@ -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
...
...
share/qtcreator/templates/qmlapp/qmlapplicationviewer/qmlapplicationviewer.cpp
View file @
48d726b3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment