also use shadow color in Breeze style

wilder-pre-rebase
Hugo Pereira Da Costa 11 years ago
parent 5a1f5c22c0
commit d0ddfe88ff
  1. 4
      kstyle/breeze.kcfg
  2. 2
      kstyle/breezeshadowhelper.cpp

@ -21,6 +21,10 @@
<max>64</max>
</entry>
<entry name="ShadowColor" type = "Color">
<default>0, 0, 0</default>
</entry>
<!-- close button -->
<entry name="OutlineCloseButton" type = "Bool">
<default>true</default>

@ -149,7 +149,7 @@ namespace Breeze
{
const QPalette palette( QApplication::palette() );
const QColor shadowColor( palette.color( QPalette::Shadow ) );
const QColor shadowColor( StyleConfigData::shadowColor() );
// metrics
const int shadowSize = StyleConfigData::shadowSize()*12/16;

Loading…
Cancel
Save