mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
Don't use helper function to avoid raising the Qt5 min version requeriment
This commit is contained in:
parent
8207f75297
commit
d47bd55fa0
@ -1002,7 +1002,7 @@ QString get_most_common_prefix(const QList<QString> &pageNames)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QRegularExpression allNumberRegExp(QRegularExpression::anchoredPattern("\\d+"));
|
QRegularExpression allNumberRegExp("\\A\\d+\\z");
|
||||||
if (allNumberRegExp.match(common_prefix).hasMatch()) {
|
if (allNumberRegExp.match(common_prefix).hasMatch()) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user