From fd407437723aed34e3d90f3d36817a4b84172a53 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 29 Sep 2010 16:31:52 +0200 Subject: [PATCH] Fixed alternating row color in QTreeView (Sf2 patch selector) With Qt 4.7 the alternating row color in the Sf2 patch selector dialog somehow was messed up. Fixed this by explicitely setting the alternating row color in the style's CSS files. --- data/themes/cusis/style.css | 4 ++++ data/themes/default/style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/data/themes/cusis/style.css b/data/themes/cusis/style.css index b37f57403..05979a67d 100644 --- a/data/themes/cusis/style.css +++ b/data/themes/cusis/style.css @@ -181,6 +181,10 @@ timeLine { font-size: 8px; } +QTreeView { + alternate-background-color: rgb(108,108,108); +} + /* Plugins */ TripleOscillatorView knob { diff --git a/data/themes/default/style.css b/data/themes/default/style.css index 731a80164..c05c52dd0 100644 --- a/data/themes/default/style.css +++ b/data/themes/default/style.css @@ -185,6 +185,10 @@ timeLine { font-size: 8px; } +QTreeView { + alternate-background-color: rgb(108,108,108); +} + /* Plugins */ TripleOscillatorView knob {