From: Hannah von Reth Date: Fri, 31 Jul 2020 07:25:37 +0000 (+0200) Subject: csync: apply strict QString handling X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~70 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2d66025d722103059229ad8d315f9b717254cc69;p=nextcloud-desktop.git csync: apply strict QString handling --- diff --git a/src/common/syncjournaldb.cpp b/src/common/syncjournaldb.cpp index 8dcecae70..c09d158eb 100644 --- a/src/common/syncjournaldb.cpp +++ b/src/common/syncjournaldb.cpp @@ -79,7 +79,7 @@ static QByteArray defaultJournalMode(const QString &dbPath) return "DELETE"; } #elif defined(Q_OS_MAC) - if (dbPath.startsWith("/Volumes/")) { + if (dbPath.startsWith(QLatin1String("/Volumes/"))) { qCInfo(lcDb) << "Mounted sync dir, do not use WAL for" << dbPath; return "DELETE"; }