forked from mirror/openmw-tes3mp
made text node filter case-insensitive
This commit is contained in:
parent
de956737fe
commit
f615a9397b
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ bool CSMFilter::TextNode::test (const CSMWorld::IdTable& table, int row,
|
|||
if (data.type()!=QVariant::String)
|
||||
return false;
|
||||
|
||||
QRegExp regExp(QString::fromUtf8 (mText.c_str())); /// \todo make pattern syntax configurable
|
||||
/// \todo make pattern syntax configurable
|
||||
QRegExp regExp (QString::fromUtf8 (mText.c_str()), Qt::CaseInsensitive);
|
||||
|
||||
return regExp.exactMatch (data.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue