diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-25 17:46:29 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-25 17:46:29 +0100 |
| commit | 551e8353e090040ee337e718cf0f1b9fe31a0423 (patch) | |
| tree | b6a31a880e10f528b4f17c7e19c1639b116278ac /src/organizercore.cpp | |
| parent | a216177b879bea6db659c65b0c37bbfe70ce08fd (diff) | |
Move IOrganizer::getMod() to IModList::getMod().
Diffstat (limited to 'src/organizercore.cpp')
| -rw-r--r-- | src/organizercore.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp index 76d53791..82305c1a 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -618,12 +618,6 @@ MOBase::VersionInfo OrganizerCore::appVersion() const return m_Updater.getVersion(); } -MOBase::IModInterface *OrganizerCore::getMod(const QString &name) const -{ - unsigned int index = ModInfo::getIndex(name); - return index == UINT_MAX ? nullptr : ModInfo::getByIndex(index).data(); -} - MOBase::IPluginGame *OrganizerCore::getGame(const QString &name) const { for (IPluginGame *game : m_PluginContainer->plugins<IPluginGame>()) { |
