summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-06-22 13:05:45 +0200
committerhjk <hjk@qt.io>2022-06-22 11:41:36 +0000
commit8066ce8a6f4b61ddf1847a19ed1bc0618ca3809a (patch)
treee46826be6422ec6a5b31e771f207f1ab1d85a9e5 /src/plugins/vcsbase
parent4686db5590e9be7e13d12afd380571ab145c28cb (diff)
downloadqt-creator-8066ce8a6f4b61ddf1847a19ed1bc0618ca3809a.tar.gz
Remove a the necessity of a few weak vtables
For background, see QTBUG-45582. Change-Id: I6c4758ce62149437c26971056b465d5dbd2b13b0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/basevcseditorfactory.cpp2
-rw-r--r--src/plugins/vcsbase/basevcseditorfactory.h2
-rw-r--r--src/plugins/vcsbase/basevcssubmiteditorfactory.cpp2
-rw-r--r--src/plugins/vcsbase/basevcssubmiteditorfactory.h2
-rw-r--r--src/plugins/vcsbase/vcsbaseclientsettings.cpp2
-rw-r--r--src/plugins/vcsbase/vcsbaseclientsettings.h1
6 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/basevcseditorfactory.cpp b/src/plugins/vcsbase/basevcseditorfactory.cpp
index 84414bf76d..e97de8f308 100644
--- a/src/plugins/vcsbase/basevcseditorfactory.cpp
+++ b/src/plugins/vcsbase/basevcseditorfactory.cpp
@@ -82,4 +82,6 @@ VcsEditorFactory::VcsEditorFactory(const VcsBaseEditorParameters *parameters,
setMarksVisible(false);
}
+VcsEditorFactory::~VcsEditorFactory() = default;
+
} // namespace VcsBase
diff --git a/src/plugins/vcsbase/basevcseditorfactory.h b/src/plugins/vcsbase/basevcseditorfactory.h
index ddd90a93da..bbc5766978 100644
--- a/src/plugins/vcsbase/basevcseditorfactory.h
+++ b/src/plugins/vcsbase/basevcseditorfactory.h
@@ -41,6 +41,8 @@ public:
VcsEditorFactory(const VcsBaseEditorParameters *parameters,
const EditorWidgetCreator editorWidgetCreator,
std::function<void(const Utils::FilePath &, const QString &)> describeFunc);
+
+ ~VcsEditorFactory();
};
} // namespace VcsBase
diff --git a/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp b/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp
index b285f6453d..ba6d4fe5c6 100644
--- a/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp
+++ b/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp
@@ -74,4 +74,6 @@ VcsSubmitEditorFactory::VcsSubmitEditorFactory
ActionManager::registerAction(&m_diffAction, DIFF_SELECTED, context);
}
+VcsSubmitEditorFactory::~VcsSubmitEditorFactory() = default;
+
} // namespace VcsBase
diff --git a/src/plugins/vcsbase/basevcssubmiteditorfactory.h b/src/plugins/vcsbase/basevcssubmiteditorfactory.h
index f71d61bbbb..30e1696d33 100644
--- a/src/plugins/vcsbase/basevcssubmiteditorfactory.h
+++ b/src/plugins/vcsbase/basevcssubmiteditorfactory.h
@@ -53,6 +53,8 @@ public:
const EditorCreator &editorCreator,
VcsBasePluginPrivate *plugin);
+ ~VcsSubmitEditorFactory();
+
private:
QAction m_submitAction;
QAction m_diffAction;
diff --git a/src/plugins/vcsbase/vcsbaseclientsettings.cpp b/src/plugins/vcsbase/vcsbaseclientsettings.cpp
index 00e20342ad..419e26268f 100644
--- a/src/plugins/vcsbase/vcsbaseclientsettings.cpp
+++ b/src/plugins/vcsbase/vcsbaseclientsettings.cpp
@@ -75,6 +75,8 @@ VcsBaseSettings::VcsBaseSettings()
timeout.setSuffix(tr("s"));
}
+VcsBaseSettings::~VcsBaseSettings() = default;
+
FilePaths VcsBaseSettings::searchPathList() const
{
return Utils::transform(path.value().split(HostOsInfo::pathListSeparator(), Qt::SkipEmptyParts),
diff --git a/src/plugins/vcsbase/vcsbaseclientsettings.h b/src/plugins/vcsbase/vcsbaseclientsettings.h
index d659794503..76091f1d3c 100644
--- a/src/plugins/vcsbase/vcsbaseclientsettings.h
+++ b/src/plugins/vcsbase/vcsbaseclientsettings.h
@@ -37,6 +37,7 @@ class VCSBASE_EXPORT VcsBaseSettings : public Utils::AspectContainer
public:
VcsBaseSettings();
+ ~VcsBaseSettings();
Utils::StringAspect binaryPath;
Utils::StringAspect userName;