csync: apply strict QString handling

This commit is contained in:
Hannah von Reth 2020-07-31 09:25:37 +02:00 committed by Kevin Ottens
parent bd62615aab
commit 2d66025d72
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -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";
}