From e38592da977858149013d0c500c66975720b3e1f Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 17 May 2015 14:30:14 +0200 Subject: extended plugin interface. Plugins can now activate/deactivate mods, install mods suggesting a name and retrieve a list of all installed mods --- src/organizerproxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/organizerproxy.cpp') diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp index 2ce5b3ee..095cb0bb 100644 --- a/src/organizerproxy.cpp +++ b/src/organizerproxy.cpp @@ -125,9 +125,9 @@ void OrganizerProxy::refreshModList(bool saveChanges) m_Proxied->refreshModList(saveChanges); } -IModInterface *OrganizerProxy::installMod(const QString &fileName) +IModInterface *OrganizerProxy::installMod(const QString &fileName, const QString &nameSuggestion) { - return m_Proxied->installMod(fileName, QString()); + return m_Proxied->installMod(fileName, nameSuggestion); } QString OrganizerProxy::resolvePath(const QString &fileName) const -- cgit v1.3.1