]> git.lyx.org Git - features.git/commitdiff
Fix indentation
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Mar 2020 09:10:36 +0000 (10:10 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 22 Mar 2020 09:10:36 +0000 (10:10 +0100)
src/support/qstring_helpers.cpp

index 7e339def452beef377cfa3d476d0adbd34825dee..8c47b7a44191a0f74156b71a34eb909c4b156b38 100644 (file)
@@ -71,15 +71,15 @@ std::string fromqstr(QString const & str)
 
 QString charFilterRegExp(QString const & filter)
 {
-    QString re = ".*";
-    for (int i = 0; i < filter.length(); ++i) {
-        QChar c = filter[i];
-        if (c.isLower())
-            re +=  "["+ QRegExp::escape(c) + QRegExp::escape(c.toUpper()) + "]";
-        else
-            re +=  QRegExp::escape(c);
-    }
-    return re;
+       QString re = ".*";
+       for (int i = 0; i < filter.length(); ++i) {
+               QChar c = filter[i];
+               if (c.isLower())
+                       re +=  "["+ QRegExp::escape(c) + QRegExp::escape(c.toUpper()) + "]";
+               else
+                       re +=  QRegExp::escape(c);
+       }
+       return re;
 }
 
 QString charFilterRegExpC(QString const & filter)