]> cloud.milkyroute.net Git - dolphin.git/commit
Fix regex porting regression
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 4 Jul 2021 20:15:17 +0000 (22:15 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 4 Jul 2021 20:15:17 +0000 (22:15 +0200)
commit8ef8e03e212ba4e51060a019ea0ac304c9a568a2
tree608e1c5504269f5a9e3a09a93e4edfb34305950f
parentfb210d6ec42f1a8fb301c187ca09c4e7647459ef
Fix regex porting regression

QAbstractItemModel::match() under the hood uses QRegExp::exactMatch(),
so with QRegularExpression we need to use anchoredPattern() on the pattern.

Regression spotted by a failing dolphinmainwindowtest.
src/dolphinviewcontainer.cpp