summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2016-01-24 18:10:25 +0000
committerThomas Tanner <trtanner@btinternet.com>2016-01-24 18:10:25 +0000
commit0e9a86ebfc1a97742d0812a7b6ae8bb7f4662673 (patch)
treef900f46ac4f14f8635533279bd434b06e6f3a94e /src/organizercore.cpp
parente90fbb1df211513ee2176aee136fbc387750bbc2 (diff)
parent8da9ba5404f51521b3425b6213e8139189dbca69 (diff)
Merge branch 'master' into issue/418
# Conflicts: # SConstruct # src/organizerproxy.cpp
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 e92ecb97..cee367b0 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -414,8 +414,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;
}
@@ -955,12 +955,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();
}