summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-19 22:35:09 +0000
committerTim E. Real <termtech@rogers.com>2010-12-19 22:35:09 +0000
commitda484f0563218c2432ee4d6f2eb3ce8c7c298622 (patch)
tree4c66eef069a656e2f07156d1990d08c02bdee97d
parent2f17324940d00c4831c7e28970984dde70f8c574 (diff)
Don't apply alpha to colour items (yet), need to filter so only some are applied.
-rw-r--r--muse2/muse/appearance.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/muse2/muse/appearance.cpp b/muse2/muse/appearance.cpp
index 08485503..93936e00 100644
--- a/muse2/muse/appearance.cpp
+++ b/muse2/muse/appearance.cpp
@@ -591,7 +591,10 @@ void Appearance::updateColor()
return;
QPalette pal;
QColor cfc(*color);
- cfc.setAlpha(globalAlphaVal->value());
+
+ // Oops can't do this - affects all colour items. Need to filter.
+ ///cfc.setAlpha(globalAlphaVal->value());
+
pal.setColor(colorframe->backgroundRole(), cfc);
colorframe->setPalette(pal);
color->getRgb(&r, &g, &b);