diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-05-04 03:05:33 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-05-04 03:05:33 +0200 |
commit | f12d420e8492b85e8aa2a7982e81a88cb1098d6c (patch) | |
tree | 617fd7a88752742fb9f5bf349087100e390d1a22 /examples | |
parent | a88ecda86028228174a1ec4e53df235ebac33dcc (diff) | |
parent | 562113342f2b232d38a3ea05e84b8d2584799218 (diff) |
Merge remote-tracking branch 'origin/5.13' into dev
Change-Id: I563668f100ffd7e39e94f109642b7d51b6b9a135
Diffstat (limited to 'examples')
-rw-r--r-- | examples/serialbus/can/sendframebox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/serialbus/can/sendframebox.cpp b/examples/serialbus/can/sendframebox.cpp index 117ff10..13042d0 100644 --- a/examples/serialbus/can/sendframebox.cpp +++ b/examples/serialbus/can/sendframebox.cpp @@ -72,7 +72,7 @@ QValidator::State HexIntegerValidator::validate(QString &input, int &) const bool ok; uint value = input.toUInt(&ok, 16); - if (!value) + if (input.isEmpty()) return Intermediate; if (!ok || value > m_maximum) |