Wireshark-commits: [Wireshark-commits] master b147cbf: Qt: traffic table: remove file_closed_

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 13 Jun 2019 05:37:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b147cbfc6c10dec98636fdceb15c02c12348380c
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

b147cbf by Martin Kaiser (wireshark@xxxxxxxxx):

    Qt: traffic table: remove file_closed_
    
    Remove the file_closed_ member from class TrafficTableDialog. We already
    have a file_closed_ variable in the base class WiresharkDialog, which is
    updated correctly when the file is closed.
    
    The shadow file_closed_ variable in TrafficTableDialog is always false.
    Classes that are derived from TrafficTableDialog will not see that the
    capture file was closed.
    
    The following scenario crashes Wireshark because of this bug
    
    * open a capture file with TCP traffic
    * Statistics / Conversations
    * select a TCP conversation
    * close the capture file
    * press the Follow Stream button in the Conversations dialog
      -> Wireshark crashes
    
    Change-Id: I8f3d55f231eae5ecc682ff90650f0005fea4b333
    Reviewed-on: https://code.wireshark.org/review/33578
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  3b9397d   rdt: remove a bunch of unnecessary if (tree) checks
     add  b147cbf   Qt: traffic table: remove file_closed_


Summary of changes:
 ui/qt/traffic_table_dialog.cpp | 1 -
 ui/qt/traffic_table_dialog.h   | 1 -
 2 files changed, 2 deletions(-)