forked from openlp/openlp
Removes border, but not affects to OSX border and shadow
This commit is contained in:
parent
5d648f80c6
commit
1ff6f5fe20
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user