aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vcsbase/vcsbaseclient.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2020-01-22 13:29:46 +0100
committerhjk <[email protected]>2020-01-23 08:20:36 +0000
commit823c44de18e415701d7cae9de19a08a7759507e3 (patch)
treec0a1a9dd5f77d1086d5bf27fc0835f3d94dbc9c2 /src/plugins/vcsbase/vcsbaseclient.cpp
parent8f96b4d161f16e39e81dbd17a47b04d589ee2721 (diff)
Vcs: Move static functions out of VcsPlugin "namespace"
Plan is to split VcsPlugin in the pure IPlugin and a new class the remaining non-IPlugin bits of VcsPlugin, call it VcsPluginPrivate and use that d-ptr for VcsPlugin. VcsPlugin-derived classes can then use VcsPluginPrivate derived private, later pointer members of the *Privates can be made proper members, moving towards the otherwise predominant plugin setup pattern. Change-Id: I62db9269e8ca50633c24b6d1d735d59c8fa8e5a5 Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseclient.cpp')
-rw-r--r--src/plugins/vcsbase/vcsbaseclient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/vcsbase/vcsbaseclient.cpp b/src/plugins/vcsbase/vcsbaseclient.cpp
index c359060d7ce..c91ca35a025 100644
--- a/src/plugins/vcsbase/vcsbaseclient.cpp
+++ b/src/plugins/vcsbase/vcsbaseclient.cpp
@@ -145,7 +145,7 @@ void VcsBaseClientImpl::enqueueJob(VcsCommand *cmd, const QStringList &args,
QProcessEnvironment VcsBaseClientImpl::processEnvironment() const
{
QProcessEnvironment environment = QProcessEnvironment::systemEnvironment();
- VcsBasePlugin::setProcessEnvironment(&environment, false);
+ VcsBase::setProcessEnvironment(&environment, false);
return environment;
}
@@ -232,8 +232,8 @@ SynchronousProcessResponse VcsBaseClientImpl::vcsSynchronousExec(const QString &
unsigned flags,
QTextCodec *outputCodec) const
{
- return VcsBasePlugin::runVcs(workingDir, {vcsBinary(), args}, vcsTimeoutS(), flags,
- outputCodec, processEnvironment());
+ return VcsBase::runVcs(workingDir, {vcsBinary(), args}, vcsTimeoutS(), flags,
+ outputCodec, processEnvironment());
}
int VcsBaseClientImpl::vcsTimeoutS() const