Wireshark-commits: [Wireshark-commits] master 8179800: Qt: fix a crash when closing a file while ca
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Dec 2014 04:13:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=81798009b97549ad0879d1c01a3b9c60ed726ed9
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8179800 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Qt: fix a crash when closing a file while capture file properties window is open
    
    refresh_button_ and copy_comment_button_ are not used neither initialized, get rid of them
    Also clear text areas and disable buttons
    
    Change-Id: I418d712313041dcf4f15aceee01497f01ae74918
    Reviewed-on: https://code.wireshark.org/review/5927
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  86d1b54   Qt: disable Capture File Properties toolbar icon by default
    adds  8179800   Qt: fix a crash when closing a file while capture file properties window is open


Summary of changes:
 ui/qt/capture_file_properties_dialog.cpp |   16 ++++++++++++++--
 ui/qt/capture_file_properties_dialog.h   |    3 ---
 2 files changed, 14 insertions(+), 5 deletions(-)