← Back to team overview

openlp-core team mailing list archive

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

 

Jonathan Corwin has proposed merging lp:~j-corwin/openlp/bug-1085609 into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #1085609 in OpenLP: "Transparent theme no longer transparent but white"
  https://bugs.launchpad.net/openlp/+bug/1085609

For more details, see:
https://code.launchpad.net/~j-corwin/openlp/bug-1085609/+merge/138824

Transparent fix, 2.1 edition
-- 
https://code.launchpad.net/~j-corwin/openlp/bug-1085609/+merge/138824
Your team OpenLP Core is requested to review the proposed merge of lp:~j-corwin/openlp/bug-1085609 into lp:openlp.
=== modified file 'openlp/core/__init__.py'
--- openlp/core/__init__.py	2012-12-05 05:53:14 +0000
+++ openlp/core/__init__.py	2012-12-07 19:46:25 +0000
@@ -126,7 +126,8 @@
         # 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


Follow ups