mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Fix indentation
This commit is contained in:
parent
1e409a1a75
commit
3f364864d4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user