Ubuntu Pastebin

Paste from elopio at Wed, 11 Mar 2015 14:48:56 +0000

Download as text
1
2
3
4
5
6
7
8
9
+++ modules/Ubuntu/Components/OrientationHelper.qml	2015-03-11 14:47:18 +0000
@@ -112,6 +112,10 @@
     width: parent ? (d.flipDimensions ? d.availableParentHeight : parent.width) : 0
     height: parent ? (d.flipDimensions ? parent.width : d.availableParentHeight) : 0
 
+    function test() {
+        orientation = Qt.PortraitOrientation
+    }
+
Download as text