diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2019-07-17 15:14:42 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2019-07-17 15:14:42 +0200 |
| commit | 05f825a1959653728acc38a844b41ec8b1622374 (patch) | |
| tree | 264ebe54e977337d0faf0a093a117eb2665b14ac /validators/MaidenheadLocatorValidator.cpp | |
| parent | 77521f03e135e9b6c1f6732d749db6b541c8dfac (diff) | |
| parent | 3d67be3023bf34eac7f93fa422f5ef569abb92a9 (diff) | |
Update upstream source from tag 'upstream/2.1.0+repack'
Update to upstream version '2.1.0+repack'
with Debian dir f1034457a9a3db00e6d9c4d0a89a0de3d3134010
Diffstat (limited to 'validators/MaidenheadLocatorValidator.cpp')
| -rw-r--r-- | validators/MaidenheadLocatorValidator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validators/MaidenheadLocatorValidator.cpp b/validators/MaidenheadLocatorValidator.cpp index 9de41233..e7e1134c 100644 --- a/validators/MaidenheadLocatorValidator.cpp +++ b/validators/MaidenheadLocatorValidator.cpp @@ -64,7 +64,7 @@ auto MaidenheadLocatorValidator::validate (QString& input, int& pos) const -> St auto subsquare = match.captured ("subsquare"); if (subsquare.size ()) { - input.replace (match.capturedStart ("subsquare"), match.capturedLength ("subsquare"), subsquare.toLower ()); + input.replace (match.capturedStart ("subsquare"), match.capturedLength ("subsquare"), subsquare.toUpper ()); } if (match.hasMatch ()) return Acceptable; if (!input.size () || match.hasPartialMatch ()) return Intermediate; |
