summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
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;