aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/HelpWindow.cpp')
-rw-r--r--src/modules/help/HelpWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/help/HelpWindow.cpp b/src/modules/help/HelpWindow.cpp
index 8ae68e57b..c7140d641 100644
--- a/src/modules/help/HelpWindow.cpp
+++ b/src/modules/help/HelpWindow.cpp
@@ -186,7 +186,7 @@ void HelpWindow::startSearch()
str = str.replace("`", "\"");
QString buf = str;
str = str.replace("-", " ");
- str = str.replace(QRegExp("\\s[\\S]?\\s"), " ");
+ str = str.replace(QRegExp(R"(\s[\S]?\s)"), " ");
m_terms = str.split(" ", QString::SkipEmptyParts);
QStringList termSeq;
QStringList seqWords;