aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kconfigloader_p.h
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2019-12-20 21:29:43 +0200
committerAhmad Samir <a.samirh78@gmail.com>2020-01-05 11:50:18 +0200
commit2055025c0c79a0e21e43fc8de02a4a2deedcb2fa (patch)
tree8fcf6a363fd2a39207df1230a0cf259a48c89351 /src/gui/kconfigloader_p.h
parent500892be5d7526e226dbddb7d4570d47cf42eeff (diff)
downloadkconfig-2055025c0c79a0e21e43fc8de02a4a2deedcb2fa.tar.gz
kconfig-2055025c0c79a0e21e43fc8de02a4a2deedcb2fa.tar.bz2
Port QRegExp to QRegularExpression
Summary: Port QRegExp::exactMatch() by using QRegularExpression::anchoredPattern() to match the entire subject string. Remove filenameOnly(), it's been broken for a long time (QStringLiteral("[/\\]") is not a valid QRegExp pattern); besides it's not needed as QFileInfo::fileName() is used to get the filename. Test Plan: make && ctest Reviewers: #frameworks, dfaure, ervin, apol Reviewed By: dfaure, ervin Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D26177
Diffstat (limited to 'src/gui/kconfigloader_p.h')
0 files changed, 0 insertions, 0 deletions