summaryrefslogtreecommitdiff
path: root/src/organizerproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizerproxy.cpp')
-rw-r--r--src/organizerproxy.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp
index 61470a1a..ff030d40 100644
--- a/src/organizerproxy.cpp
+++ b/src/organizerproxy.cpp
@@ -38,6 +38,13 @@ QString OrganizerProxy::downloadsPath() const
return m_Proxied->downloadsPath();
}
+QString OrganizerProxy::overwritePath() const
+{
+ return QDir::fromNativeSeparators(ToQString(GameInfo::instance().getOrganizerDirectory()))
+ + "/"
+ + ToQString(AppConfig::overwritePath());
+}
+
VersionInfo OrganizerProxy::appVersion() const
{
return m_Proxied->appVersion();
@@ -113,16 +120,14 @@ bool OrganizerProxy::onModInstalled(const std::function<void (const QString &)>
return m_Proxied->onModInstalled(func);
}
-
void OrganizerProxy::refreshModList(bool saveChanges)
{
m_Proxied->refreshModList(saveChanges);
}
-
IModInterface *OrganizerProxy::installMod(const QString &fileName)
{
- return m_Proxied->installMod(fileName);
+ return m_Proxied->installMod(fileName, QString());
}
QString OrganizerProxy::resolvePath(const QString &fileName) const