Commit 1f79313b authored by hjk's avatar hjk
Browse files

debugger: remove dead code

parent 05aff87e
...@@ -68,14 +68,6 @@ DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *error) ...@@ -68,14 +68,6 @@ DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *error)
bool isCdbEngineEnabled(); // Check the configuration page bool isCdbEngineEnabled(); // Check the configuration page
} }
/*
static QString toolChainName(int toolChainType)
{
return ToolChain::toolChainName(ProjectExplorer::ToolChainType(toolChainType));
}
*/
namespace Internal { namespace Internal {
DebuggerEngine *createGdbEngine(const DebuggerStartParameters &); DebuggerEngine *createGdbEngine(const DebuggerStartParameters &);
...@@ -299,12 +291,6 @@ DebuggerRunControlPrivate::DebuggerRunControlPrivate(DebuggerRunControl *parent, ...@@ -299,12 +291,6 @@ DebuggerRunControlPrivate::DebuggerRunControlPrivate(DebuggerRunControl *parent,
DebuggerEngineType DebuggerRunControlPrivate::engineForExecutable DebuggerEngineType DebuggerRunControlPrivate::engineForExecutable
(unsigned enabledEngineTypes, const QString &executable) (unsigned enabledEngineTypes, const QString &executable)
{ {
/*if (executable.endsWith(_("qmlviewer"))) {
if (enabledEngineTypes & QmlEngineType)
return QmlEngineType;
d->m_errorMessage = msgEngineNotAvailable("Qml Engine");
}*/
if (executable.endsWith(_(".js"))) { if (executable.endsWith(_(".js"))) {
if (enabledEngineTypes & ScriptEngineType) if (enabledEngineTypes & ScriptEngineType)
return ScriptEngineType; return ScriptEngineType;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment