diff options
author | Jirka Novak <j.novak@netsystem.cz> | 2021-01-10 21:57:47 +0100 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2021-01-11 13:30:18 +0000 |
commit | 8dd84917136e763c08be821cef360a225baa089e (patch) | |
tree | 13aac6c668e33c765369b6fe07e677a155b583f0 /ui/qt/rtp_analysis_dialog.cpp | |
parent | aad42108e0108b0cd195fa7d22dc34bb35dfac6f (diff) |
Qt framework: Dialogs are correctly notified when capture file was closed
The patch reintroduces WiresharkDialog::captureFileClosed() method and
calls captureFileClosing() and captureFileClosed() in right order.
Both methods call updateWidgets() at its end.
All dialogs were reviewed and captureFileClosing/Closed methods updated
when appropriate.
captureEvent() method in multiple dialogs changed to captureFileClosing/Closed
as it does same actions - looks like old style of detecting of capture
file closing.
Diffstat (limited to 'ui/qt/rtp_analysis_dialog.cpp')
-rw-r--r-- | ui/qt/rtp_analysis_dialog.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/qt/rtp_analysis_dialog.cpp b/ui/qt/rtp_analysis_dialog.cpp index 6b26513e16..9406c06dc9 100644 --- a/ui/qt/rtp_analysis_dialog.cpp +++ b/ui/qt/rtp_analysis_dialog.cpp @@ -391,12 +391,6 @@ RtpAnalysisDialog::~RtpAnalysisDialog() delete rev_tempfile_; } -// TODO: Can be removed if not used to fix issue with disabling buttons -void RtpAnalysisDialog::captureFileClosing() -{ - WiresharkDialog::captureFileClosing(); -} - void RtpAnalysisDialog::updateWidgets() { bool enable_tab = false; |