aboutsummaryrefslogtreecommitdiff
path: root/src/corelib/events/morientationtracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/events/morientationtracker.cpp')
-rw-r--r--src/corelib/events/morientationtracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/events/morientationtracker.cpp b/src/corelib/events/morientationtracker.cpp
index d3c19b84..ff32f890 100644
--- a/src/corelib/events/morientationtracker.cpp
+++ b/src/corelib/events/morientationtracker.cpp
@@ -82,7 +82,7 @@ void MOrientationTrackerPrivate::topEdgeChanged()
} else if (edge == "bottom") {
angle = M::Angle180;
} else {
- angle = currentAngle;
+ angle = M::Angle0;
}
// if hardware keyboard is opened, don't allow orientation angle to be changed.