From faa99fd5a75262357c7164b00a4edaf5dcb505f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 23 Feb 2007 14:42:00 +0000 Subject: [PATCH] Compile. svn path=/branches/work/kwin_composite/; revision=636612 --- options.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/options.cpp b/options.cpp index 4507988546..1e98766f56 100644 --- a/options.cpp +++ b/options.cpp @@ -194,27 +194,27 @@ unsigned long Options::updateSettings() removeShadowsOnResize = config.readEntry("RemoveShadowsOnResize", true); onlyDecoTranslucent = config.readEntry("OnlyDecoTranslucent", false); - refreshRate = config->readEntry( "RefreshRate", 0 ); - smoothScale = qBound( -1, config->readEntry( "SmoothScale", -1 ), 2 ); + refreshRate = config.readEntry( "RefreshRate", 0 ); + 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" ) glMode = GLTFP; else if( glmode == "SHM" ) glMode = GLSHM; else glMode = GLFallback; - glAlwaysRebind = config->readEntry("GLAlwaysRebind", false ); - glDirect = config->readEntry("GLDirect", true ); - glVSync = config->readEntry("GLVSync", true ); + glAlwaysRebind = config.readEntry("GLAlwaysRebind", false ); + glDirect = config.readEntry("GLDirect", true ); + glVSync = config.readEntry("GLVSync", true ); - config->setGroup( "Effects" ); - defaultEffects = config->readEntry( "Load", QStringList() << "ShowFps" << "Fade" ); + config.changeGroup( "Effects" ); + defaultEffects = config.readEntry( "Load", QStringList() << "ShowFps" << "Fade" ); - config->setGroup( "EffectShowFps" ); - effectShowFpsAlpha = config->readEntry( "Alpha", 0.5 ); - effectShowFpsX = config->readEntry( "X", -10000 ); - effectShowFpsY = config->readEntry( "Y", 0 ); + config.changeGroup( "EffectShowFps" ); + effectShowFpsAlpha = config.readEntry( "Alpha", 0.5 ); + effectShowFpsX = config.readEntry( "X", -10000 ); + effectShowFpsY = config.readEntry( "Y", 0 ); // Read button tooltip animation effect from kdeglobals // Since we want to allow users to enable window decoration tooltips // and not kstyle tooltips and vise-versa, we don't read the