From 945172b4614405614b20568a0e3bcc5e36aad0e3 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sat, 27 Oct 2018 16:56:53 -0400 Subject: [PATCH] Use QString() rather than QStringLiteral() --- src/Filter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Filter.cpp b/src/Filter.cpp index 3e357057..b11e6aea 100644 --- a/src/Filter.cpp +++ b/src/Filter.cpp @@ -573,9 +573,9 @@ static QString createFileRegex(const QStringList &patterns, const QString &fileP QStringList prefixes = patterns.filter(QRegularExpression(QStringLiteral("^") + filePattern + QStringLiteral("+\\*$"))); QStringList fullNames = patterns.filter(QRegularExpression(QStringLiteral("^") + filePattern + QStringLiteral("$"))); - suffixes.replaceInStrings(QStringLiteral("*"), QStringLiteral("")); + suffixes.replaceInStrings(QStringLiteral("*"), QString()); suffixes.replaceInStrings(QStringLiteral("."), QStringLiteral("\\.")); - prefixes.replaceInStrings(QStringLiteral("*"), QStringLiteral("")); + prefixes.replaceInStrings(QStringLiteral("*"), QString()); prefixes.replaceInStrings(QStringLiteral("."), QStringLiteral("\\.")); return QString(