From 9d43c19a036d76ec31d7d84d051dbd5031034603 Mon Sep 17 00:00:00 2001 From: Jonathan Springer Date: Mon, 29 May 2017 12:33:22 -0400 Subject: [PATCH] Fix transparent display on macOS --- openlp/core/ui/maindisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index a40ade826..439d87a8d 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -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)