diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-04-30 03:01:30 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-04-30 03:01:30 +0200 |
commit | 5e8cd8ce5985501d9b220760f7f63901417b9299 (patch) | |
tree | 75234c366e2f80ad1cd04885503b15c578010e76 /examples | |
parent | c4baab78983f803a6956d10fb5ae53731340ab41 (diff) | |
parent | 673495d2eb1fe9cdf701351d75c2203c80ab6ba5 (diff) |
Merge remote-tracking branch 'origin/5.12' into 5.13
Change-Id: I1f3e5fc5e366037937f12dd2e714853865695ac8
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) |