From d5167d3389d0eb315c1ad177c809fb93df711f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Mon, 20 Jun 2016 22:59:11 +0200 Subject: [PATCH] Fix data path. --- src/ArchiveModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArchiveModel.cpp b/src/ArchiveModel.cpp index 5e1f02e9..25a376db 100644 --- a/src/ArchiveModel.cpp +++ b/src/ArchiveModel.cpp @@ -37,7 +37,7 @@ QString ArchiveEntry::filePath() const return path; - return QStandardPaths::writableLocation(QStandardPaths::DataLocation) + name + ".dact"; + return QString("%1/%2.dact").arg(QStandardPaths::writableLocation(QStandardPaths::DataLocation), name); } bool ArchiveEntry::existsLocally() const