Commit 72313ce1 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

VcsBaseClientSettings: Add method to retrieve VCS client search path

Change-Id: I7aff223cdbc108fc51554a5f53f8c5efb3856864
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
parent 1b83666d
......@@ -357,12 +357,16 @@ QString VcsBaseClientSettings::binaryPath() const
if (d->m_binaryFullPath.isEmpty()) {
d->m_binaryFullPath = Utils::Environment::systemEnvironment().searchInPath(
stringValue(binaryPathKey), stringValue(pathKey).split(
stringValue(binaryPathKey), searchPathList());
return d->m_binaryFullPath;
QStringList VcsBaseClientSettings::searchPathList() const
return stringValue(pathKey).split(Utils::HostOsInfo::pathListSeparator());
QString VcsBaseClientSettings::settingsGroup() const
return d->m_settingsGroup;
......@@ -83,6 +83,8 @@ public:
QString binaryPath() const;
QStringList searchPathList() const;
QString settingsGroup() const;
void setSettingsGroup(const QString &group);
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