diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2013-03-22 22:35:56 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-25 10:27:50 +0100 |
commit | 48670b8437902548f1aec7f4f973fc84dcd12349 (patch) | |
tree | 3f9ae19628d76940d07f8b82560c974786cf7e5e /src | |
parent | 23f8a58652e3ac4398d508691d227b3c75811e8f (diff) | |
download | qtserialport-48670b8437902548f1aec7f4f973fc84dcd12349.tar.gz |
Fix crash the Terminal example when trying to select the custom baud rate
Attempting to choose from QComboBox the custom baud rate leads to
crash because the null pointer is returned to the QLineEdit and call
the method for setup the validator by null pointer.
Only editable combo boxes have a line edit, so trying to set a
non-editable is dereferencing a null ptr.
Change-Id: Ia9aaef64ef908b1b2d95090a203dc223d12f0b76
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions