android: Fix file dialog name filter matching for extensions with numbers
Pick-to: 6.9 6.8 6.5 Task-number: QTBUG-114957 Change-Id: I8e9ff3b9c7ad3fe8442caa49f6ad0bb6449bb9e9 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
31762e2e70
commit
e445067507
@ -133,7 +133,7 @@ QStringList nameFilterExtensions(const QString nameFilters)
|
||||
{
|
||||
QStringList ret;
|
||||
#if QT_CONFIG(regularexpression)
|
||||
QRegularExpression re("(\\*\\.[a-z .]+)");
|
||||
QRegularExpression re("(\\*\\.[a-z0-9 .]+)");
|
||||
QRegularExpressionMatchIterator i = re.globalMatch(nameFilters);
|
||||
while (i.hasNext())
|
||||
ret << i.next().captured(1).trimmed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user