No need to load kdeglobals, again, use app's config.
svn path=/trunk/KDE/kdebase/workspace/; revision=786326
This commit is contained in:
parent
877810b4c6
commit
e25943a913
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue