QmlDebug: Fix debugging on local machine

Fix regression in that it always assumed that you want to debug
Symbian (over USB).
This commit is contained in:
Kai Koehne
2011-04-13 15:47:13 +02:00
parent e6620167fc
commit c8aa3dc8d2
4 changed files with 10 additions and 10 deletions

View File

@@ -1831,7 +1831,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
const DebuggerStartParameters &sp = startParameters();
if (sp.toolChainAbi.os() == Abi::SymbianOS) {
// FIXME: 1 of 3 testing hacks.
if (sp.debugClient == DebuggerStartParameters::DebugClientCoda)
if (sp.debugClient == DebuggerStartParameters::SymbianDebugClientCoda)
return new CodaGdbAdapter(this);
else
return new TrkGdbAdapter(this);