Compile.
svn path=/branches/work/kwin_composite/; revision=636612
This commit is contained in:
parent
2167e9a44a
commit
faa99fd5a7
1 changed files with 12 additions and 12 deletions
24
options.cpp
24
options.cpp
|
@ -194,27 +194,27 @@ unsigned long Options::updateSettings()
|
||||||
removeShadowsOnResize = config.readEntry("RemoveShadowsOnResize", true);
|
removeShadowsOnResize = config.readEntry("RemoveShadowsOnResize", true);
|
||||||
onlyDecoTranslucent = config.readEntry("OnlyDecoTranslucent", false);
|
onlyDecoTranslucent = config.readEntry("OnlyDecoTranslucent", false);
|
||||||
|
|
||||||
refreshRate = config->readEntry( "RefreshRate", 0 );
|
refreshRate = config.readEntry( "RefreshRate", 0 );
|
||||||
smoothScale = qBound( -1, config->readEntry( "SmoothScale", -1 ), 2 );
|
smoothScale = qBound( -1, config.readEntry( "SmoothScale", -1 ), 2 );
|
||||||
|
|
||||||
QString glmode = config->readEntry("GLMode", "TFP" ).upper();
|
QString glmode = config.readEntry("GLMode", "TFP" ).upper();
|
||||||
if( glmode == "TFP" )
|
if( glmode == "TFP" )
|
||||||
glMode = GLTFP;
|
glMode = GLTFP;
|
||||||
else if( glmode == "SHM" )
|
else if( glmode == "SHM" )
|
||||||
glMode = GLSHM;
|
glMode = GLSHM;
|
||||||
else
|
else
|
||||||
glMode = GLFallback;
|
glMode = GLFallback;
|
||||||
glAlwaysRebind = config->readEntry("GLAlwaysRebind", false );
|
glAlwaysRebind = config.readEntry("GLAlwaysRebind", false );
|
||||||
glDirect = config->readEntry("GLDirect", true );
|
glDirect = config.readEntry("GLDirect", true );
|
||||||
glVSync = config->readEntry("GLVSync", true );
|
glVSync = config.readEntry("GLVSync", true );
|
||||||
|
|
||||||
config->setGroup( "Effects" );
|
config.changeGroup( "Effects" );
|
||||||
defaultEffects = config->readEntry( "Load", QStringList() << "ShowFps" << "Fade" );
|
defaultEffects = config.readEntry( "Load", QStringList() << "ShowFps" << "Fade" );
|
||||||
|
|
||||||
config->setGroup( "EffectShowFps" );
|
config.changeGroup( "EffectShowFps" );
|
||||||
effectShowFpsAlpha = config->readEntry( "Alpha", 0.5 );
|
effectShowFpsAlpha = config.readEntry( "Alpha", 0.5 );
|
||||||
effectShowFpsX = config->readEntry( "X", -10000 );
|
effectShowFpsX = config.readEntry( "X", -10000 );
|
||||||
effectShowFpsY = config->readEntry( "Y", 0 );
|
effectShowFpsY = config.readEntry( "Y", 0 );
|
||||||
// Read button tooltip animation effect from kdeglobals
|
// Read button tooltip animation effect from kdeglobals
|
||||||
// Since we want to allow users to enable window decoration tooltips
|
// Since we want to allow users to enable window decoration tooltips
|
||||||
// and not kstyle tooltips and vise-versa, we don't read the
|
// and not kstyle tooltips and vise-versa, we don't read the
|
||||||
|
|
Loading…
Reference in a new issue