From 5d648f80c6e680a9eec6719dc5bb19d27d581dea Mon Sep 17 00:00:00 2001 From: Dmitriy Marmyshev Date: Tue, 17 Sep 2013 20:23:45 +0400 Subject: [PATCH] fixed transparent display for OS X Fixes: https://launchpad.net/bugs/1117098 --- openlp/core/ui/maindisplay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index f2c1033ed..5c19e10c8 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -167,8 +167,10 @@ class MainDisplay(Display): """ if enabled: self.setAutoFillBackground(False) + self.setStyleSheet("QGraphicsView {background: transparent;}") else: self.setAttribute(QtCore.Qt.WA_NoSystemBackground, False) + self.setStyleSheet("QGraphicsView {background: white;}") self.setAttribute(QtCore.Qt.WA_TranslucentBackground, enabled) self.repaint()