From: Heli Hyvättinen Date: Sat, 13 Aug 2011 07:47:33 +0000 (+0300) Subject: Locked to landscape X-Git-Tag: v1.9.0~40 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=380595a15e93d178a004614c94868a6419aeadc4;p=chessclock Locked to landscape --- diff --git a/qml/AboutPage.qml b/qml/AboutPage.qml index 8846bea..ce8f312 100644 --- a/qml/AboutPage.qml +++ b/qml/AboutPage.qml @@ -28,6 +28,7 @@ Page { id: aboutPage // tools: commonTools + orientationLock: PageOrientation.LockLandscape tools: ToolBarLayout { ToolButton { iconSource: "toolbar-back"; onClicked: pageStack.pop() } diff --git a/qml/ClocksPage.qml b/qml/ClocksPage.qml index f09acca..8860abe 100644 --- a/qml/ClocksPage.qml +++ b/qml/ClocksPage.qml @@ -37,6 +37,8 @@ Page property int whiteTurnsPerAddition property int blackTurnsPerAddition + orientationLock: PageOrientation.LockLandscape + onStatusChanged: { if (status == PageStatus.Activating) diff --git a/qml/MainPage.qml b/qml/MainPage.qml index 27f1fc6..26877d4 100644 --- a/qml/MainPage.qml +++ b/qml/MainPage.qml @@ -29,6 +29,7 @@ import com.nokia.extras 1.0 Page { id: mainPage tools: commonTools + orientationLock: PageOrientation.LockLandscape