summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Sitter <[email protected]>2017-03-17 13:14:25 +0100
committerHarald Sitter <[email protected]>2017-03-17 14:46:46 +0100
commit78199d3f39389e58b1e8e569ccd99b8b1e16071d (patch)
tree6fb3c07e0474ce15e9fdc17035c2bd24410e388a
parent7628ed6c5902960e0edb18d8fe3ecf64e2d7e09d (diff)
rip out ancient compat code which was meant to have disappeared in 4.11
Reviewers: broulik Reviewed By: broulik Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D5082
-rw-r--r--drkonqi/debuggermanager.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/drkonqi/debuggermanager.cpp b/drkonqi/debuggermanager.cpp
index 3b57d3b..7c9305b 100644
--- a/drkonqi/debuggermanager.cpp
+++ b/drkonqi/debuggermanager.cpp
@@ -77,22 +77,7 @@ bool DebuggerManager::debuggerIsRunning() const
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<AbstractDebuggerLauncher*> DebuggerManager::availableExternalDebuggers() const