Wireshark-commits: [Wireshark-commits] master 67b069e: Qt: Add address conversion convenience routi

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 29 Jan 2015 22:51:47 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=67b069e544da2078cf5c9ba0c95ca9af8ba00b03
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

67b069e by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Add address conversion convenience routines
    
    Add address_to_qstring and address_to_display_qstring, which wrap
    address_to_string and address_to_display respectively and return
    QStrings. Convert most of the instances in ui/qt to the new routines.
    
    Fix a some memory leaks in the process.
    
    Change-Id: Icda80bbfe0b2df723d54c8da84355255f819af89
    Reviewed-on: https://code.wireshark.org/review/6848
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  2edf8bb   SDP: check that media format starts with a digit before trying to identify media type
    adds  67b069e   Qt: Add address conversion convenience routines


Summary of changes:
 doc/README.qt                        |    6 +++++-
 ui/qt/lbm_lbtrm_transport_dialog.cpp |    8 +++-----
 ui/qt/lbm_lbtru_transport_dialog.cpp |    6 +++---
 ui/qt/lbm_stream_dialog.cpp          |   12 ++++++------
 ui/qt/lbm_uimflow_dialog.cpp         |    5 ++---
 ui/qt/qt_ui_utils.cpp                |   26 +++++++++++++++++++++++++-
 ui/qt/qt_ui_utils.h                  |   22 ++++++++++++++++++++++
 ui/qt/sctp_assoc_analyse_dialog.cpp  |   11 ++++-------
 ui/qt/tcp_stream_dialog.cpp          |    8 ++------
 ui/qt/voip_calls_dialog.cpp          |   14 ++++++--------
 10 files changed, 78 insertions(+), 40 deletions(-)