We don't really need two \ here

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-06-04 14:09:21 +02:00
parent c50a968a1e
commit 3e79e1861b
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -1100,7 +1100,7 @@ void SyncEngine::slotDiscoveryJobFinished(int discoveryResult)
// files with names that contain these.
// It's important to respect the capability also for older servers -- the
// version check doesn't make sense for custom servers.
invalidFilenamePattern = R"([\\:?*"<>|])";
invalidFilenamePattern = R"([\:?*"<>|])";
}
if (!invalidFilenamePattern.isEmpty()) {
const QRegExp invalidFilenameRx(invalidFilenamePattern);