Transparent fix

This commit is contained in:
Jonathan Corwin 2012-12-07 19:43:53 +00:00
commit 33be405013
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ class OpenLP(QtGui.QApplication):
# Correct stylesheet bugs
if os.name == u'nt':
base_color = self.palette().color(QtGui.QPalette.Active, QtGui.QPalette.Base)
application_stylesheet = u'* {alternate-background-color: ' + base_color.name() + ';}\n'
application_stylesheet = \
u'QTableWidget, QListWidget, QTreeWidget {alternate-background-color: ' + base_color.name() + ';}\n'
application_stylesheet += nt_repair_stylesheet
self.setStyleSheet(application_stylesheet)
# show the splashscreen