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 if( !focusPolicyIsReasonable()) // #48786, comments #7 and later
focusStealingPreventionLevel = 0; focusStealingPreventionLevel = 0;
KConfig gc("kdeglobals", KConfig::NoGlobals); KConfigGroup gWindowsConfig( _config, "Windows"); // from kdeglobals
KConfigGroup gWindowsConfig(&gc, "Windows");
xineramaEnabled = gWindowsConfig.readEntry ("XineramaEnabled", true); xineramaEnabled = gWindowsConfig.readEntry ("XineramaEnabled", true);
xineramaPlacementEnabled = gWindowsConfig.readEntry ("XineramaPlacementEnabled", true); xineramaPlacementEnabled = gWindowsConfig.readEntry ("XineramaPlacementEnabled", true);
xineramaMovementEnabled = gWindowsConfig.readEntry ("XineramaMovementEnabled", true); xineramaMovementEnabled = gWindowsConfig.readEntry ("XineramaMovementEnabled", true);