This should've gone into svn quite some time ago

svn path=/trunk/KDE/kdebase/workspace/; revision=706141
This commit is contained in:
Rivo Laks 2007-08-29 14:35:22 +00:00
parent 78bec90fbe
commit e8c43c91bf

View file

@ -194,10 +194,10 @@ unsigned long Options::updateSettings()
glMode = GLFallback; glMode = GLFallback;
glDirect = config.readEntry("GLDirect", true ); glDirect = config.readEntry("GLDirect", true );
glVSync = config.readEntry("GLVSync", true ); glVSync = config.readEntry("GLVSync", true );
smoothScale = qBound( -1, config.readEntry( "GLTextureFilter", -1 ), 2 );
config.changeGroup("Translucency"); config.changeGroup("Translucency");
refreshRate = config.readEntry( "RefreshRate", 0 ); refreshRate = config.readEntry( "RefreshRate", 0 );
smoothScale = qBound( -1, config.readEntry( "SmoothScale", -1 ), 2 );
glStrictBinding = config.readEntry( "GLStrictBinding", false ); glStrictBinding = config.readEntry( "GLStrictBinding", false );
const HiddenPreviews hps[] = { HiddenPreviewsNever, HiddenPreviewsKeep, HiddenPreviewUpdate, HiddenPreviewsActive }; const HiddenPreviews hps[] = { HiddenPreviewsNever, HiddenPreviewsKeep, HiddenPreviewUpdate, HiddenPreviewsActive };
hiddenPreviews = hps[ qBound( 0, config.readEntry( "HiddenPreviews", 3 ), 3 ) ]; hiddenPreviews = hps[ qBound( 0, config.readEntry( "HiddenPreviews", 3 ), 3 ) ];