Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/csync
diff options
context:
space:
mode:
authorNicolas Fella <nicolas.fella@gmx.de>2021-01-22 22:31:28 +0300
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>2021-01-25 11:19:49 +0300
commitab064c92b66bd86c39792fe00013a4d817a5789b (patch)
tree45d362a77fb679a40bf44252f6d06082562ee9a9 /src/csync
parent398101ae3d51b646f18897bbf6330597018c635d (diff)
Fix build against Qt 5.15.3
Use QLatin1Char to prevent build error due to stricter QT_NO_CAST_FROM_ASCII Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
Diffstat (limited to 'src/csync')
-rw-r--r--src/csync/csync_exclude.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csync/csync_exclude.cpp b/src/csync/csync_exclude.cpp
index eb0fdfb52..8c0d6d631 100644
--- a/src/csync/csync_exclude.cpp
+++ b/src/csync/csync_exclude.cpp
@@ -588,7 +588,7 @@ QString ExcludedFiles::convertToRegexpSyntax(QString exclude, bool wildcardsMatc
// Translate [! to [^
QString bracketExpr = exclude.mid(i, j - i + 1);
if (bracketExpr.startsWith(QLatin1String("[!")))
- bracketExpr[1] = '^';
+ bracketExpr[1] = QLatin1Char('^');
regex.append(bracketExpr);
i = j;
break;