summaryrefslogtreecommitdiffstats
path: root/application/pages/LegacyJarModPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/LegacyJarModPage.cpp')
-rw-r--r--application/pages/LegacyJarModPage.cpp2
1 files changed, 1 insertions, 1 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();
}