summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-01-27 13:39:45 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-27 13:55:55 +0100
commita120f1a733ad53a3d248ce5acab393c4ff25a2a3 (patch)
tree340022f85adf74aeed6ac8dd7f371da9240d7cfd /src/plugins/platforminputcontexts
parent11eefaf0f771d1f52c35fd860361149d573ea36b (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/platforminputcontexts')
-rw-r--r--src/plugins/platforminputcontexts/meego/qmeegoplatforminputcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforminputcontexts/meego/qmeegoplatforminputcontext.cpp b/src/plugins/platforminputcontexts/meego/qmeegoplatforminputcontext.cpp
index 0df21e3908..607dad6b94 100644
--- a/src/plugins/platforminputcontexts/meego/qmeegoplatforminputcontext.cpp
+++ b/src/plugins/platforminputcontexts/meego/qmeegoplatforminputcontext.cpp
@@ -75,7 +75,7 @@ enum MaliitOrientationAngle {
static int orientationAngle(Qt::ScreenOrientation orientation)
{
switch (orientation) {
- case Qt::UnknownOrientation: // Urgh.
+ case Qt::PrimaryOrientation: // Urgh.
case Qt::PortraitOrientation:
return Angle270;
case Qt::LandscapeOrientation: