From: Kevin Ottens Date: Thu, 4 Jun 2020 12:09:21 +0000 (+0200) Subject: We don't really need two \ here X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~237^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3e79e1861bc917f057c175aead4b4863f7f26a3d;p=nextcloud-desktop.git We don't really need two \ here Signed-off-by: Kevin Ottens --- diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index dda6cbb86..5fdd070c7 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -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);