Fix transparent display on macOS

This commit is contained in:
Jonathan Springer 2017-05-29 12:33:22 -04:00
parent fdcb8ae0c7
commit 9d43c19a03
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class MainDisplay(OpenLPMixin, Display, RegistryProperties):
# platforms. For OpenLP 2.0 keep it only for OS X to not cause any
# regressions on other platforms.
if is_macosx():
window_flags = QtCore.Qt.FramelessWindowHint | QtCore.Qt.Window
window_flags = QtCore.Qt.FramelessWindowHint | QtCore.Qt.Window | QtCore.Qt.NoDropShadowWindowHint
self.setWindowFlags(window_flags)
self.setAttribute(QtCore.Qt.WA_DeleteOnClose)
self.set_transparency(False)