diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-10-10 16:05:57 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-11 17:03:21 +0000 |
commit | 11c58e78f74f22a3b485ca59ae8de837435faf5f (patch) | |
tree | be13b218345c00488d06d406f97fa23364b1b0b3 /ui/qt/extcap_argument_file.cpp | |
parent | e5bcf6b40223c3cfd13438861d4fb88bbd4b5934 (diff) |
Qt: More new-style signals+slot conversions.
Diffstat (limited to 'ui/qt/extcap_argument_file.cpp')
-rw-r--r-- | ui/qt/extcap_argument_file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/extcap_argument_file.cpp b/ui/qt/extcap_argument_file.cpp index 3bb9611615..89d52627fc 100644 --- a/ui/qt/extcap_argument_file.cpp +++ b/ui/qt/extcap_argument_file.cpp @@ -75,8 +75,8 @@ QWidget * ExtcapArgumentFileSelection::createEditor(QWidget * parent) buttonSelect->setToolTip(QString().fromUtf8(_argument->tooltip)); } - connect(buttonSelect, SIGNAL(clicked()), (QObject *)this, SLOT(openFileDialog())); - connect(buttonClear, SIGNAL(clicked()), (QObject *)this, SLOT(clearFilename())); + connect(buttonSelect, &QPushButton::clicked, this, &ExtcapArgumentFileSelection::openFileDialog); + connect(buttonClear, &QPushButton::clicked, this, &ExtcapArgumentFileSelection::clearFilename); editLayout->addWidget(textBox); editLayout->addWidget(buttonSelect); |