diff --git a/clients/default/kdedefault.cpp b/clients/default/kdedefault.cpp index d8a8db9101..e5f70b1f0f 100644 --- a/clients/default/kdedefault.cpp +++ b/clients/default/kdedefault.cpp @@ -197,9 +197,9 @@ unsigned long KDEDefaultHandler::readConfig( bool update ) unsigned long changed = 0; KConfigGroup conf(KGlobal::config(), "KDEDefault"); - bool new_showGrabBar = conf->readEntry("ShowGrabBar", true); - bool new_showTitleBarStipple = conf->readEntry("ShowTitleBarStipple", true); - bool new_useGradients = conf->readEntry("UseGradients", true); + bool new_showGrabBar = conf.readEntry("ShowGrabBar", true); + bool new_showTitleBarStipple = conf.readEntry("ShowTitleBarStipple", true); + bool new_useGradients = conf.readEntry("UseGradients", true); int new_titleHeight = QFontMetrics(options()->font(true)).height(); int new_toolTitleHeight = QFontMetrics(options()->font(true, true)).height()-2; diff --git a/kcmkwin/kwindecoration/kwindecoration.cpp b/kcmkwin/kwindecoration/kwindecoration.cpp index ac7c3ae73c..08a52f6f2a 100644 --- a/kcmkwin/kwindecoration/kwindecoration.cpp +++ b/kcmkwin/kwindecoration/kwindecoration.cpp @@ -463,7 +463,7 @@ void KWinDecorationModule::readConfig( const KConfigGroup & conf ) // Buttons tab // ============ - bool customPositions = conf->readEntry("CustomButtonPositions", false); + bool customPositions = conf.readEntry("CustomButtonPositions", false); cbUseCustomButtonPositions->setChecked( customPositions ); buttonPositionWidget->setEnabled( customPositions ); // Menu and onAllDesktops buttons are default on LHS