aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perforce
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-06-15 13:37:33 +0200
committerTobias Hunger <tobias.hunger@qt.io>2017-07-10 08:44:47 +0000
commit19c9194b117bf4d5a4d5ef19e6f9d84d92c67620 (patch)
tree4e1f80e3b1aeeb78db3848b76151ed6d080c6edc /src/plugins/perforce
parent9a4394fa2d280b5e44636e18db77440b37d7b5c4 (diff)
VcsManager: Register IVersionControls with VcsManager
Get some more objects out of the pool. Change-Id: Id93021b712307c4777dc39b9d15aa18a46318885 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/perforce')
-rw-r--r--src/plugins/perforce/perforceplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp
index ba5ed219c71..c4a1e50ac46 100644
--- a/src/plugins/perforce/perforceplugin.cpp
+++ b/src/plugins/perforce/perforceplugin.cpp
@@ -183,7 +183,7 @@ bool PerforcePlugin::initialize(const QStringList & /* arguments */, QString *er
Q_UNUSED(errorMessage)
Context context(PERFORCE_CONTEXT);
- initializeVcs(new PerforceVersionControl(this), context);
+ initializeVcs<PerforceVersionControl>(context, this);
m_instance = this;