summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-11-02 18:33:15 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-11-02 18:33:15 +0100
commit67c69fd861689d6e1f5e2190d309d0b2c09de848 (patch)
treecc8a41b3f071932615b02a70798b441a121536b4 /src
parentUse sha256 to encode the database name instead of just hex encoding it (diff)
downloadnheko-67c69fd861689d6e1f5e2190d309d0b2c09de848.tar.xz
Make clazy happy
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp
index 1b0a8df0..58dc689b 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -296,8 +296,8 @@ cacheDirectoryName(const QString &userid, const QString &profile)
     hash.addData(userid.toUtf8());
     hash.addData(profile.toUtf8());
     return QStringLiteral("%1/db-%2")
-      .arg(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation))
-      .arg(hash.result().toHex());
+      .arg(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation),
+           hash.result().toHex());
 }
 
 void