forked from qt-creator/qt-creator
VCS: Allow use of base name for executable
Actual path is found on startup and when setting is changed Change-Id: If2cb0735953b9fb64df7425230c98efb384d9287 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
2e98952068
commit
7ffc4349f8
@@ -82,7 +82,7 @@ QString GitSettings::gitBinaryPath(bool *ok, QString *errorMessage) const
|
||||
errorMessage->clear();
|
||||
|
||||
if (m_binaryPath.isEmpty()) {
|
||||
const QString binary = stringValue(binaryPathKey);
|
||||
const QString binary = binaryPath();
|
||||
QString currentPath = stringValue(pathKey);
|
||||
QString systemPath = QString::fromLocal8Bit(qgetenv("PATH"));
|
||||
if (!systemPath.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user