summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2016-01-24 15:25:38 +0000
committerThomas Tanner <trtanner@btinternet.com>2016-01-24 15:25:38 +0000
commit8da9ba5404f51521b3425b6213e8139189dbca69 (patch)
tree790307574808607d20a1c1d16b78c155caebd4f3 /src/organizercore.cpp
parent387326f2d62fe02babe3594e2e00f831355da9b7 (diff)
parent5adb3b377ecd50a75dd034a49582a1da91b67e1c (diff)
Removing the 'get' in all function names and making FO4 plugin build
Merge branch 'master' of https://github.com/TanninOne/modorganizer
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 06a6dba4..2b50b163 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -401,8 +401,8 @@ void OrganizerCore::connectPlugins(PluginContainer *container)
}
//Do this the hard way
for (const IPluginGame * const game : container->plugins<IPluginGame>()) {
- QString n = game->getGameShortName();
- if (game->getGameShortName() == "Skyrim") {
+ QString n = game->gameShortName();
+ if (game->gameShortName() == "Skyrim") {
m_Updater.setNexusDownload(game);
break;
}
@@ -932,12 +932,12 @@ void OrganizerCore::spawnBinary(const QFileInfo &binary, const QString &argument
refreshDirectoryStructure();
// need to remove our stored load order because it may be outdated if a foreign tool changed the
// file time. After removing that file, refreshESPList will use the file time as the order
- if (managedGame()->getLoadOrderMechanism() == IPluginGame::LoadOrderMechanism::FileTime) {
+ if (managedGame()->loadOrderMechanism() == IPluginGame::LoadOrderMechanism::FileTime) {
qDebug("removing loadorder.txt");
QFile::remove(m_CurrentProfile->getLoadOrderFileName());
}
refreshESPList();
- if (managedGame()->getLoadOrderMechanism() == IPluginGame::LoadOrderMechanism::FileTime) {
+ if (managedGame()->loadOrderMechanism() == IPluginGame::LoadOrderMechanism::FileTime) {
// the load order should have been retrieved from file time, now save it to our own format
savePluginList();
}