diff --git a/drkonqi/debuggermanager.cpp b/drkonqi/debuggermanager.cpp --- a/drkonqi/debuggermanager.cpp +++ b/drkonqi/debuggermanager.cpp @@ -77,22 +77,7 @@ bool DebuggerManager::showExternalDebuggers() const { KConfigGroup config(KSharedConfig::openConfig(), "DrKonqi"); - bool showDebugger = config.readEntry("ShowDebugButton", false); - - // TODO: remove all these compatibility code when KDE SC 4.11 - // is considered as totally outdated - // - //for compatibility with drkonqi 1.0, if "ShowDebugButton" is not specified in the config - //and the old "ConfigName" key exists and is set to "developer", we show the debug button. - if (!config.hasKey("ShowDebugButton") && - config.readEntry("ConfigName") == QLatin1String("developer")) { - showDebugger = true; - // migrate and remove the long deprecated entry - config.writeEntry("ShowDebugButton", true); - config.deleteEntry("ConfigName"); - } - - return showDebugger; + return config.readEntry("ShowDebugButton", false); } QList DebuggerManager::availableExternalDebuggers() const