VcsBase: Partially move vcsTimeoutS() to VcsBaseClientSettings

It's the source of information for this, and the plan is to
ramp down and merge *Client and *BasePlugin.

Change-Id: I13f813d1f94a2bd4a704d120493a28b92443605b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2020-02-03 14:56:09 +01:00
parent 625fd913e5
commit b23dc3a0bf
5 changed files with 38 additions and 32 deletions

View File

@@ -361,6 +361,11 @@ FilePath VcsBaseClientSettings::binaryPath() const
return d->m_binaryFullPath;
}
int VcsBaseClientSettings::vcsTimeoutS() const
{
return intValue(VcsBaseClientSettings::timeoutKey);
}
QStringList VcsBaseClientSettings::searchPathList() const
{
return stringValue(pathKey).split(HostOsInfo::pathListSeparator(), QString::SkipEmptyParts);