summaryrefslogtreecommitdiff
path: root/src/loot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/loot.cpp')
-rw-r--r--src/loot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loot.cpp b/src/loot.cpp
index d41fd77b..9c9ab2ae 100644
--- a/src/loot.cpp
+++ b/src/loot.cpp
@@ -714,7 +714,7 @@ void Loot::deleteReportFile()
{
if (QFile::exists(LootReportPath)) {
log::debug("deleting temporary loot report '{}'", LootReportPath);
- const auto r = shell::Delete(LootReportPath);
+ const auto r = shell::Delete(QFileInfo(LootReportPath));
if (!r) {
log::error(