fixed value saving for translucency/active+dock windows (wrote floats)

svn path=/trunk/kdebase/kwin/; revision=379589
This commit is contained in:
Thomas Lübking 2005-01-18 00:36:46 +00:00
parent c6a2534495
commit 4ac7536d38

View file

@ -1448,8 +1448,8 @@ void KTranslucencyConfig::save( void )
// (speed reasons, so the shadow matrix hasn't to be recreated for every window)
// we set inactive windows to 100%, the radius to the inactive window value and adjust the multiplicators for docks and active windows
// this way the user can set the three values without caring about the radius/multiplicator stuff
config->writeEntry("DockShadowSize",100.0*dockWindowShadowSize->value()/inactiveWindowShadowSize->value());
config->writeEntry("ActiveWindowShadowSize",100.0*activeWindowShadowSize->value()/inactiveWindowShadowSize->value());
config->writeEntry("DockShadowSize",(int)(100.0*dockWindowShadowSize->value()/inactiveWindowShadowSize->value()));
config->writeEntry("ActiveWindowShadowSize",(int)(100.0*activeWindowShadowSize->value()/inactiveWindowShadowSize->value()));
config->writeEntry("InctiveWindowShadowSize",100);
config->writeEntry("ResetKompmgr",resetKompmgr_);