mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-18 09:32:40 -05:00
findExecutable(): cleanup log output a bit.
Change-Id: I217bddc91ff9ea43a5cfc018818f5a19b1555dd9
This commit is contained in:
parent
4105c82e6b
commit
7d8db0a6ff
1 changed files with 3 additions and 2 deletions
|
|
@ -280,12 +280,13 @@ QString Utils::findExecutable(QString name)
|
||||||
QStringList ex = executable.split("\"", QString::SkipEmptyParts);
|
QStringList ex = executable.split("\"", QString::SkipEmptyParts);
|
||||||
executable = ex.join("");
|
executable = ex.join("");
|
||||||
#endif
|
#endif
|
||||||
qDebug() << "[Utils] executable:" << executable;
|
|
||||||
if(QFileInfo(executable).isExecutable())
|
if(QFileInfo(executable).isExecutable())
|
||||||
{
|
{
|
||||||
|
qDebug() << "[Utils] findExecutable: found" << executable;
|
||||||
return QDir::toNativeSeparators(executable);
|
return QDir::toNativeSeparators(executable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
qDebug() << "[Utils] findExecutable: could not find" << name;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue