Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master da3634a: Fix a "recent items" crash.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 9 Jul 2014 21:39:43 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=da3634a01f70d5f31182fe8363ac7285992ede2e
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

da3634a by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Fix a "recent items" crash.
    
    Use a QMutableListIterator instead of a foreach loop so that we can
    safely remove items from a list.
    
    While we're here, make sure that RecentFileStatus threads use a
    Qt::QueuedConnection when emitting signals across threads and try to
    isolate the filename string.
    
    Change-Id: I3fbb65a1727133f4557026decab5084a3faec2d4
    Reviewed-on: https://code.wireshark.org/review/2966
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  cdc1c16   Print wIndex in decimal and hex
    adds  da3634a   Fix a "recent items" crash.


Summary of changes:
 ui/qt/recent_file_status.h      |    4 ++--
 ui/qt/wireshark_application.cpp |   36 ++++++++++++++++--------------------
 ui/qt/wireshark_application.h   |    2 +-
 3 files changed, 19 insertions(+), 23 deletions(-)