Debugger: Improve detection of debuggers in legacy configuration

There is a wrong assumption there that ids start with '{'.

Change-Id: I8d753c1b67cfe250435711eab8db9f6dc576195d
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-07-03 08:51:04 +03:00
committed by hjk
parent ddf344a534
commit 72e878a126

View File

@@ -297,6 +297,8 @@ void DebuggerItemManager::readLegacyDebuggers(const FileName &file)
if (fn == QLatin1String("auto"))
continue;
FileName command = FileName::fromUserInput(fn);
if (!command.toFileInfo().exists())
continue;
if (findByCommand(command))
continue;
DebuggerItem item;