View Single Post
epninety's Avatar
Posts: 269 | Thanked: 1,096 times | Joined on Sep 2009 @ Hampshire, UK
#3402
OK, putting a limit on rotation turned out to be really simple, with a little research.

Thanks to an answer to this question posted on t.j.c, then sane rotation is only one edit away...

In the file /usr/lib/qt5/qml/Sailfish/Silica/Page.qml, edit the line change "return allowed" to read "return Orientation.Portrait | Orientation.Landscape". (Line #117 in my copy in 3.3.0.14 Rokua)

 

The Following 6 Users Say Thank You to epninety For This Useful Post: