From 1ff6f5fe205e16928896d66702a5e980b698586a Mon Sep 17 00:00:00 2001 From: Dmitriy Marmyshev Date: Wed, 18 Sep 2013 10:48:25 +0400 Subject: [PATCH] Removes border, but not affects to OSX border and shadow --- openlp/core/ui/maindisplay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index 5c19e10c8..0a3f48152 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -167,10 +167,10 @@ class MainDisplay(Display): """ if enabled: self.setAutoFillBackground(False) - self.setStyleSheet("QGraphicsView {background: transparent;}") + self.setStyleSheet("QGraphicsView {background: transparent; border: 0px;}") else: self.setAttribute(QtCore.Qt.WA_NoSystemBackground, False) - self.setStyleSheet("QGraphicsView {background: white;}") + self.setStyleSheet("QGraphicsView {}") self.setAttribute(QtCore.Qt.WA_TranslucentBackground, enabled) self.repaint()