Fix transparent background on Windows

Fixes: https://launchpad.net/bugs/1085609
This commit is contained in:
Jonathan Corwin 2012-12-07 19:22:41 +00:00
commit 223e579ea9

View File

@ -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)