Commit 89f6240d authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Accept upper case hexadecimal digits in SimpleIpV6AddressValidator.

CCBUG: 314811
(cherry picked from commit 332a1fae)
parent 63f361b1
......@@ -47,7 +47,7 @@ QValidator::State SimpleIpV6AddressValidator::validate(QString &address, int &po
QValidator::State SimpleIpV6AddressValidator::checkWithInputMask(QString &value, int &pos) const
{
QRegExpValidator v(QRegExp("([0-9a-f]{1,4}|:)+"), 0);
QRegExpValidator v(QRegExp("([0-9a-fA-F]{1,4}|:)+"), 0);
return v.validate(value, pos);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment