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
@@ -30,6 +30,8 @@
|
||||
|
||||
#include "subversionsettings.h"
|
||||
|
||||
#include <utils/environment.h>
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
static const char groupC[] = "Subversion";
|
||||
@@ -71,6 +73,7 @@ void SubversionSettings::fromSettings(QSettings *settings)
|
||||
{
|
||||
settings->beginGroup(QLatin1String(groupC));
|
||||
svnCommand = settings->value(QLatin1String(commandKeyC), defaultCommand()).toString();
|
||||
svnBinaryPath = Utils::Environment::systemEnvironment().searchInPath(svnCommand);
|
||||
useAuthentication = settings->value(QLatin1String(authenticationKeyC), QVariant(false)).toBool();
|
||||
user = settings->value(QLatin1String(userKeyC), QString()).toString();
|
||||
password = settings->value(QLatin1String(passwordKeyC), QString()).toString();
|
||||
|
||||
Reference in New Issue
Block a user