diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-10-10 11:42:51 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-11 16:32:49 +0000 |
commit | e5bcf6b40223c3cfd13438861d4fb88bbd4b5934 (patch) | |
tree | 08c0d1fd310b656cbeaa39443e817c57bcd9e82d /ui/qt/rtp_audio_stream.cpp | |
parent | 7f9b8874b5bd4bc3c1b6683a8191bdd41de1adb7 (diff) |
Qt: Use new-style signals+slots in more places.
Diffstat (limited to 'ui/qt/rtp_audio_stream.cpp')
-rw-r--r-- | ui/qt/rtp_audio_stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/rtp_audio_stream.cpp b/ui/qt/rtp_audio_stream.cpp index 51e19e7b0f..83b3c248ea 100644 --- a/ui/qt/rtp_audio_stream.cpp +++ b/ui/qt/rtp_audio_stream.cpp @@ -719,7 +719,7 @@ bool RtpAudioStream::prepareForPlay(QAudioDeviceInfo out_device) temp_file_->seek(start_pos); if (audio_output_) delete audio_output_; audio_output_ = new QAudioOutput(out_device, format, this); - connect(audio_output_, SIGNAL(stateChanged(QAudio::State)), this, SLOT(outputStateChanged(QAudio::State))); + connect(audio_output_, &QAudioOutput::stateChanged, this, &RtpAudioStream::outputStateChanged); return true; } else { // Report stopped audio if start position is later than stream ends |