forked from openlp/openlp
Transparent Theme fix
bzr-revno: 2126
This commit is contained in:
commit
b03606b8a8
@ -126,7 +126,8 @@ class OpenLP(QtGui.QApplication):
|
|||||||
# Correct stylesheet bugs
|
# Correct stylesheet bugs
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
base_color = self.palette().color(QtGui.QPalette.Active, QtGui.QPalette.Base)
|
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
|
application_stylesheet += nt_repair_stylesheet
|
||||||
self.setStyleSheet(application_stylesheet)
|
self.setStyleSheet(application_stylesheet)
|
||||||
# show the splashscreen
|
# show the splashscreen
|
||||||
|
Loading…
Reference in New Issue
Block a user