diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/pages/LegacyJarModPage.cpp | 2 | ||||
-rw-r--r-- | application/pages/ModFolderPage.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/application/pages/LegacyJarModPage.cpp b/application/pages/LegacyJarModPage.cpp index 5d397978..2ff6b6de 100644 --- a/application/pages/LegacyJarModPage.cpp +++ b/application/pages/LegacyJarModPage.cpp @@ -105,7 +105,7 @@ void LegacyJarModPage::on_addJarBtn_clicked() m_jarmods->stopWatching(); for (auto filename : list) { - m_jarmods->installMod(QFileInfo(filename)); + m_jarmods->installMod(filename); } m_jarmods->startWatching(); } diff --git a/application/pages/ModFolderPage.cpp b/application/pages/ModFolderPage.cpp index e3ece5a6..6791a59e 100644 --- a/application/pages/ModFolderPage.cpp +++ b/application/pages/ModFolderPage.cpp @@ -142,7 +142,7 @@ void ModFolderPage::on_addModBtn_clicked() m_mods->stopWatching(); for (auto filename : list) { - m_mods->installMod(QFileInfo(filename)); + m_mods->installMod(filename); } m_mods->startWatching(); } |