summaryrefslogtreecommitdiff
path: root/examples/terminal/settingsdialog.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2013-03-22 22:35:56 +0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-25 10:27:50 +0100
commit48670b8437902548f1aec7f4f973fc84dcd12349 (patch)
tree3f9ae19628d76940d07f8b82560c974786cf7e5e /examples/terminal/settingsdialog.h
parent23f8a58652e3ac4398d508691d227b3c75811e8f (diff)
downloadqtserialport-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 'examples/terminal/settingsdialog.h')
0 files changed, 0 insertions, 0 deletions