aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index a7af1477..ac428a62 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -56,7 +56,6 @@
#include <QtCore/QStringBuilder>
#include <QtNetwork/QDnsLookup>
-
#if QT_VERSION_MAJOR >= 6
# include <qt6keychain/keychain.h>
#else
@@ -1948,7 +1947,7 @@ void Connection::Private::saveDevicesList()
QElapsedTimer et;
et.start();
- QFile outFile { q->e2eeDataDir() + QStringLiteral("/deviceslist.json") };
+ QFile outFile { q->e2eeDataDir() % "/deviceslist.json" };
if (!outFile.open(QFile::WriteOnly)) {
qCWarning(E2EE) << "Error opening" << outFile.fileName() << ":"
<< outFile.errorString();