Wireshark-commits: [Wireshark-commits] master 76a5465: Qt: Fix packet deselection.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 15 May 2015 16:07:36 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=76a5465cf0d767bb11c8e5a152b7cf555ee5d920
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

76a5465 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Fix packet deselection.
    
    When no packets are selected, clear the related item delegate, packet
    detail, and byte view. Also, don't crash.
    
    Bug: 10529
    Change-Id: I1f46d0d60d060d517f1ee2f8b5a9124bc1fad00e
    Reviewed-on: https://code.wireshark.org/review/8470
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  f1a747e   ui/mcast_stream.c: Add dependency on sys/time.h for struct timeval
    adds  76a5465   Qt: Fix packet deselection.


Summary of changes:
 ui/qt/packet_list.cpp |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)