Autodetection: detect folder view as portrait

This commit is contained in:
Emanuele 2020-12-12 23:52:59 +01:00
parent f4876c3b23
commit 76505e759d

View file

@ -117,6 +117,8 @@ class rMViewApp(QApplication):
portrait = True
elif c(5,5) == 4278190080:
portrait = True
elif c(40,47) == 4278190080 and c(40,119) == 4278190080:
portrait = True
if portrait:
self.viewer.portrait()
self.autoResize(HEIGHT / WIDTH)