Fixed bug #1049036 in singlescreen mode set full screen mode instead of StaysOnTopHint.

This commit is contained in:
Martin Zibricky 2012-09-12 23:43:31 +02:00
parent e98bd6c68f
commit 7089e6980a

View File

@ -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)