Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
Network Management
Commits
89f6240d
Commit
89f6240d
authored
Feb 12, 2013
by
Lamarque Souza
Browse files
Accept upper case hexadecimal digits in SimpleIpV6AddressValidator.
CCBUG: 314811 (cherry picked from commit
332a1fae
)
parent
63f361b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/ui/simpleipv6addressvalidator.cpp
View file @
89f6240d
...
...
@@ -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-f
A-F
]{1,4}|:)+"
),
0
);
return
v
.
validate
(
value
,
pos
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment