diff options
author | Tim E. Real <termtech@rogers.com> | 2010-12-19 22:35:09 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-12-19 22:35:09 +0000 |
commit | da484f0563218c2432ee4d6f2eb3ce8c7c298622 (patch) | |
tree | 4c66eef069a656e2f07156d1990d08c02bdee97d | |
parent | 2f17324940d00c4831c7e28970984dde70f8c574 (diff) |
Don't apply alpha to colour items (yet), need to filter so only some are applied.
-rw-r--r-- | muse2/muse/appearance.cpp | 5 |
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); |