forked from openlp/openlp
Always use screenGeometry
This commit is contained in:
parent
e54340d8f3
commit
277f5e1380
@ -129,10 +129,7 @@ class OpenLP(QtGui.QApplication):
|
||||
screens = ScreenList()
|
||||
# Decide how many screens we have and their size
|
||||
for screen in xrange(0, self.desktop().numScreens()):
|
||||
if self.desktop().isVirtualDesktop():
|
||||
size = self.desktop().availableGeometry(screen);
|
||||
else:
|
||||
size = self.desktop().screenGeometry(screen);
|
||||
size = self.desktop().screenGeometry(screen);
|
||||
screens.add_screen({u'number': screen,
|
||||
u'size': size,
|
||||
u'primary': (self.desktop().primaryScreen() == screen)})
|
||||
|
Loading…
Reference in New Issue
Block a user