summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-22 21:18:56 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-22 21:18:56 +0000
commitefaba9070639dbdc77955784b5de3365c9271738 (patch)
tree0f473f4dcddcd888e1e76ec22e5ad77d191bf183 /src/organizercore.cpp
parent159501d0763c3e801d3997d8d4d72accd5f7a9f9 (diff)
Final eradication of igameinfo and adding python wrappers for IPluginGame
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 704dc734..826d5bea 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1,7 +1,6 @@
#include "organizercore.h"
#include "mainwindow.h"
-#include "gameinfoimpl.h"
#include "messagedialog.h"
#include "logbuffer.h"
#include "credentialsdialog.h"
@@ -119,8 +118,7 @@ QStringList toStringList(InputIterator current, InputIterator end)
OrganizerCore::OrganizerCore(const QSettings &initSettings)
- : m_GameInfo(new GameInfoImpl())
- , m_UserInterface(nullptr)
+ : m_UserInterface(nullptr)
, m_PluginContainer(nullptr)
, m_GameName()
, m_CurrentProfile(nullptr)
@@ -187,7 +185,6 @@ OrganizerCore::~OrganizerCore()
m_ModList.setProfile(nullptr);
NexusInterface::instance()->cleanup();
- delete m_GameInfo;
delete m_DirectoryStructure;
}
@@ -556,11 +553,6 @@ void OrganizerCore::setCurrentProfile(const QString &profileName)
refreshDirectoryStructure();
}
-MOBase::IGameInfo &OrganizerCore::gameInfo() const
-{
- return *m_GameInfo;
-}
-
MOBase::IModRepositoryBridge *OrganizerCore::createNexusBridge() const
{
return new NexusBridge();