forked from openlp/openlp
Fix transparent background on Windows
Fixes: https://launchpad.net/bugs/1085609
This commit is contained in:
commit
223e579ea9
@ -133,7 +133,8 @@ class OpenLP(QtGui.QApplication):
|
|||||||
base_color = self.palette().color(QtGui.QPalette.Active,
|
base_color = self.palette().color(QtGui.QPalette.Active,
|
||||||
QtGui.QPalette.Base)
|
QtGui.QPalette.Base)
|
||||||
application_stylesheet = \
|
application_stylesheet = \
|
||||||
u'* {alternate-background-color: ' + \
|
u'QTableWidget, QListWidget, QTreeWidget ' + \
|
||||||
|
u'{alternate-background-color: ' + \
|
||||||
base_color.name() + ';}\n'
|
base_color.name() + ';}\n'
|
||||||
application_stylesheet += nt_repair_stylesheet
|
application_stylesheet += nt_repair_stylesheet
|
||||||
self.setStyleSheet(application_stylesheet)
|
self.setStyleSheet(application_stylesheet)
|
||||||
|
Loading…
Reference in New Issue
Block a user