No need to load kdeglobals, again, use app's config.

svn path=/trunk/KDE/kdebase/workspace/; revision=786326
This commit is contained in:
Luboš Luňák 2008-03-16 18:46:23 +00:00
parent 877810b4c6
commit e25943a913

View file

@ -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);