diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-12-22 20:54:10 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-12-24 17:02:05 +0000 |
commit | 4876016bda0e0078d15d3e26df220a782c95376f (patch) | |
tree | c2c6965a16f56d706cd0134723944be3829d0772 /ui/qt/uat_dialog.cpp | |
parent | 2d8ec49ffad14a1f1ea7a71c99e617bbfd0767a9 (diff) |
Qt (KeyPressEvent): Missing break in switch (CID 1159205, 1159206, 1159208, 1159209)
Change-Id: I40b7c7eefb269570e6a1c5c9ec310fa97840d42d
Reviewed-on: https://code.wireshark.org/review/5995
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/uat_dialog.cpp')
-rw-r--r-- | ui/qt/uat_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp index ce45d429f3..bd6d9b768f 100644 --- a/ui/qt/uat_dialog.cpp +++ b/ui/qt/uat_dialog.cpp @@ -125,6 +125,7 @@ void UatDialog::keyPressEvent(QKeyEvent *evt) switch (evt->key()) { case Qt::Key_Escape: cur_line_edit_->setText(saved_string_pref_); + /* Fall Through */ case Qt::Key_Enter: case Qt::Key_Return: stringPrefEditingFinished(); @@ -136,6 +137,7 @@ void UatDialog::keyPressEvent(QKeyEvent *evt) switch (evt->key()) { case Qt::Key_Escape: cur_combo_box_->setCurrentIndex(saved_combo_idx_); + /* Fall Through */ case Qt::Key_Enter: case Qt::Key_Return: // XXX The combo box eats enter and return |