aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/decode_as_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-10-10 11:42:51 -0700
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-11 16:32:49 +0000
commite5bcf6b40223c3cfd13438861d4fb88bbd4b5934 (patch)
tree08c0d1fd310b656cbeaa39443e817c57bcd9e82d /ui/qt/decode_as_dialog.cpp
parent7f9b8874b5bd4bc3c1b6683a8191bdd41de1adb7 (diff)
Qt: Use new-style signals+slots in more places.
Diffstat (limited to 'ui/qt/decode_as_dialog.cpp')
-rw-r--r--ui/qt/decode_as_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/decode_as_dialog.cpp b/ui/qt/decode_as_dialog.cpp
index 49a6d7f762..8f2af90975 100644
--- a/ui/qt/decode_as_dialog.cpp
+++ b/ui/qt/decode_as_dialog.cpp
@@ -79,7 +79,7 @@ DecodeAsDialog::DecodeAsDialog(QWidget *parent, capture_file *cf, bool create_ne
fillTable();
- connect(model_, SIGNAL(modelReset()), this, SLOT(modelRowsReset()));
+ connect(model_, &DecodeAsModel::modelReset, this, &DecodeAsDialog::modelRowsReset);
ui->clearToolButton->setEnabled(model_->rowCount() > 0);
if (create_new)