Wireshark mailing list archives

Re: How to disable controls in dialog when capture file is closing


From: Jim Young <jim.young.ws () gmail com>
Date: Wed, 6 Jan 2021 19:57:11 -0500

Hello Jirka,

On Wed, Jan 6, 2021 at 5:35 PM Jirka Novak <j.novak () netsystem cz> wrote:
Is there anyone who remembers why framework was changed to current state?

The following two commits might give some insight:

commit d5d815189d98745e3b33a6caadd4c2dc5648a114
From Fri Dec 22 13:58:02 2017 +0100
    Qt: Redesign signal/slot concept of capture_file

   This is in preparation to make it easier for other classes
   to get the right signals from the capture file. Also the decision
   on what signals to listen to now resides with the final classes,
   not main window, and it no longer needs to be changed if the
   statusbar or wsapp needs additional signals.

And this specific followup:

commit 777acc73daaaca7bfe040354a6bacbc905329e45
From Tue Dec 26 19:42:08 2017 -0500
   Apply new CaptureEvents to statistics dialogs.

   Refactoring from If366d42b07dc822636404ac44ba2306ec4418b4e ignored
   dialogs outside of the main window.  Searched for removed signals
   from CaptureFile class and applied new CaptureEvent handling.

I've identified these commits while trying to determine what particular patch
introduced the following warning messages:

19:37:55.173     Main Warn QObject::connect: No such signal CaptureFile::captureFileClosing() in 
../ui/qt/rtp_analysis_dialog.cpp:379
19:37:55.173     Main Warn QObject::connect:  (receiver name: 'RtpAnalysisDialog')

These two messages currently appear in the Wireshark's console whenever the
RTP Stream Analysis dialog is opened.  These are two of several messages that
first appeared as a result of the refactoring introduced with
d5d815189d.  All but
these two messages were subsequently resolved with the refactoring
from 777acc73da.

Hope you find this useful.

Jim Young
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: