diff --git a/src/Cache.cpp b/src/Cache.cpp
index 1b0a8df0da0538973e3d768dcdf63f444d9cb4cc..58dc689bb52a0003c96ebe1faa1ff08e53d9e500 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