diff options
| author | Tannin <sherb@gmx.net> | 2015-12-28 14:33:30 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2015-12-28 14:33:30 +0100 |
| commit | 1bfc91046badb609261c78b4b5e03bba4dcb61bd (patch) | |
| tree | 8b19d71b29a63edaa92bddc2e7d14cfed023d3df /src/modinfo.cpp | |
| parent | 502e950cde5920e4184775c47621cb737696f512 (diff) | |
removed get-prefix from many getters. removed const from managed_game variable.
other fixes
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp index 8bc767c5..5593b0f0 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -220,8 +220,8 @@ void ModInfo::updateFromDisc(const QString &modDirectory, } { // list plugins in the data directory and make a foreign-managed mod out of each - QStringList dlcPlugins = game->getDLCPlugins(); - QStringList mainPlugins = game->getPrimaryPlugins(); + QStringList dlcPlugins = game->DLCPlugins(); + QStringList mainPlugins = game->primaryPlugins(); QDir dataDir(game->dataDirectory()); for (const QString &file : dataDir.entryList({ "*.esp", "*.esm" })) { if (std::find_if(mainPlugins.begin(), mainPlugins.end(), @@ -289,9 +289,9 @@ int ModInfo::checkAllForUpdate(QObject *receiver) std::vector<int> modIDs; //I ought to store this, it's used elsewhere - IPluginGame const *game = qApp->property("managed_game").value<IPluginGame const *>(); + IPluginGame const *game = qApp->property("managed_game").value<IPluginGame *>(); - modIDs.push_back(game->getNexusModOrganizerID()); + modIDs.push_back(game->nexusModOrganizerID()); for (const ModInfo::Ptr &mod : s_Collection) { if (mod->canBeUpdated()) { |
