Commit e2745ba2 authored by Christian Stenger's avatar Christian Stenger
Browse files

Debugger: Do not list folder as debugger



Change-Id: I32ce5ee2cfd30c786af2d8ae6297c2708fcfd632
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 143b51c5
......@@ -249,7 +249,7 @@ void DebuggerItemManager::autoDetectGdbOrLldbDebuggers()
}
foreach (const QFileInfo &fi, suspects) {
if (fi.exists() && fi.isExecutable()) {
if (fi.exists() && fi.isExecutable() && !fi.isDir()) {
FileName command = FileName::fromString(fi.absoluteFilePath());
if (findByCommand(command))
continue;
......
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