summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-30 22:56:34 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:17 +0100
commit8a88421fd9748f64163f18d8b89ea9d651402014 (patch)
treec4720283a1d246cc5054fdbbcff7780bb17a1b28 /src/organizercore.cpp
parent07c2badd174059f7cc4ca404c22c6741b679cc7f (diff)
Start moving modlist context menu actions to separate structures.
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 1a6083b4..986b6fbb 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1510,13 +1510,6 @@ void OrganizerCore::requestDownload(const QUrl &url, QNetworkReply *reply)
}
}
-ModListSortProxy *OrganizerCore::createModListProxyModel()
-{
- ModListSortProxy *result = new ModListSortProxy(m_CurrentProfile.get(), this);
- result->setSourceModel(&m_ModList);
- return result;
-}
-
PluginListSortProxy *OrganizerCore::createPluginListProxyModel()
{
PluginListSortProxy *result = new PluginListSortProxy(this);
@@ -1524,6 +1517,11 @@ PluginListSortProxy *OrganizerCore::createPluginListProxyModel()
return result;
}
+PluginContainer& OrganizerCore::pluginContainer() const
+{
+ return *m_PluginContainer;
+}
+
IPluginGame const *OrganizerCore::managedGame() const
{
return m_GamePlugin;