Merge lp:~j-corwin/openlp/bug-1085609 into lp:openlp

Proposed by Jonathan Corwin
Status: Merged
Merged at revision: 2126
Proposed branch: lp:~j-corwin/openlp/bug-1085609
Merge into: lp:openlp
Diff against target: 13 lines (+2/-1)
1 file modified
openlp/core/__init__.py (+2/-1)
To merge this branch: bzr merge lp:~j-corwin/openlp/bug-1085609
Reviewer Review Type Date Requested Status
Tim Bentley Approve
Review via email: mp+138824@code.launchpad.net

Description of the change

Transparent fix, 2.1 edition

To post a comment you must log in.
Revision history for this message
Tim Bentley (trb143) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openlp/core/__init__.py'
2--- openlp/core/__init__.py 2012-12-05 05:53:14 +0000
3+++ openlp/core/__init__.py 2012-12-07 19:46:25 +0000
4@@ -126,7 +126,8 @@
5 # Correct stylesheet bugs
6 if os.name == u'nt':
7 base_color = self.palette().color(QtGui.QPalette.Active, QtGui.QPalette.Base)
8- application_stylesheet = u'* {alternate-background-color: ' + base_color.name() + ';}\n'
9+ application_stylesheet = \
10+ u'QTableWidget, QListWidget, QTreeWidget {alternate-background-color: ' + base_color.name() + ';}\n'
11 application_stylesheet += nt_repair_stylesheet
12 self.setStyleSheet(application_stylesheet)
13 # show the splashscreen