From e25943a913fdc644438c60b905fd47541445af31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 16 Mar 2008 18:46:23 +0000 Subject: [PATCH] No need to load kdeglobals, again, use app's config. svn path=/trunk/KDE/kdebase/workspace/; revision=786326 --- options.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/options.cpp b/options.cpp index 3f8d165dba..b9666b9992 100644 --- a/options.cpp +++ b/options.cpp @@ -92,8 +92,7 @@ unsigned long Options::updateSettings() if( !focusPolicyIsReasonable()) // #48786, comments #7 and later focusStealingPreventionLevel = 0; - KConfig gc("kdeglobals", KConfig::NoGlobals); - KConfigGroup gWindowsConfig(&gc, "Windows"); + KConfigGroup gWindowsConfig( _config, "Windows"); // from kdeglobals xineramaEnabled = gWindowsConfig.readEntry ("XineramaEnabled", true); xineramaPlacementEnabled = gWindowsConfig.readEntry ("XineramaPlacementEnabled", true); xineramaMovementEnabled = gWindowsConfig.readEntry ("XineramaMovementEnabled", true);