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