diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-01-27 13:39:45 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-27 13:55:55 +0100 |
commit | a120f1a733ad53a3d248ce5acab393c4ff25a2a3 (patch) | |
tree | 340022f85adf74aeed6ac8dd7f371da9240d7cfd /src/plugins/platforms | |
parent | 11eefaf0f771d1f52c35fd860361149d573ea36b (diff) |
Fix compilation of MeeGo/Maliit related code after Qt::ScreenOrientation API changes
Qt::UnknownOrientation is now Qt::PrimaryOrientation.
Change-Id: I2846a90bd11ecd1416c29b7bd861f180ccb129a1
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 6febe4703d..08c027d5c3 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -1156,7 +1156,7 @@ void QXcbWindow::setOrientation(Qt::ScreenOrientation orientation) case Qt::LandscapeOrientation: angle = 0; break; case Qt::InvertedPortraitOrientation: angle = 90; break; case Qt::InvertedLandscapeOrientation: angle = 180; break; - case Qt::UnknownOrientation: break; + case Qt::PrimaryOrientation: break; } Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, atom(QXcbAtom::MeegoTouchOrientationAngle), XCB_ATOM_CARDINAL, 32, |