Wireshark-commits: [Wireshark-commits] master eabc935: Qt: Do not display alerts on repeated failed

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 28 Feb 2020 04:54:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eabc9356c22e09eedf49ec09a113c749d3551e2e
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

eabc935 by Tomasz Moń (desowin@xxxxxxxxx):

    Qt: Do not display alerts on repeated failed reads
    
    If read from capture file fails, set a flag that result in subsequent
    read attempts to not display alert box on read failure.
    
    This solves endless "An error occurred while reading the capture file"
    error when the underlying trace file becomes unavailable. Now it is
    possible for the user to close the capture file.
    
    Bug: 4811
    Change-Id: I411bbb3fb717bc994ab1f5e3805e2c8b4ee09c5e
    Reviewed-on: https://code.wireshark.org/review/36114
    Petri-Dish: Tomasz Moń <desowin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  236dbcf   USB Audio: Audio-class specific format 3 dissection
     add  eabc935   Qt: Do not display alerts on repeated failed reads


Summary of changes:
 file.c                              | 14 ++++++++++++++
 file.h                              |  5 +++++
 ui/qt/models/packet_list_record.cpp | 11 +++++++++--
 ui/qt/models/packet_list_record.h   |  2 ++
 4 files changed, 30 insertions(+), 2 deletions(-)