forked from openlp/openlp
Fixed bug #1049036 in singlescreen mode set full screen mode instead of StaysOnTopHint.
This commit is contained in:
parent
e98bd6c68f
commit
7089e6980a
@ -147,7 +147,7 @@ class MainDisplay(Display):
|
||||
# For primary screen ensure it stays above the OS X dock
|
||||
# and menu bar
|
||||
if self.screens.current[u'primary']:
|
||||
windowFlags |= QtCore.Qt.WindowStaysOnTopHint
|
||||
self.setWindowState(QtCore.Qt.WindowFullScreen)
|
||||
self.setWindowFlags(windowFlags)
|
||||
self.setAttribute(QtCore.Qt.WA_DeleteOnClose)
|
||||
self.setTransparency(False)
|
||||
|
Loading…
Reference in New Issue
Block a user