Wireshark-commits: [Wireshark-commits] master 7d43836: QT: stats_tree plug-ins not added to statist

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 16 Jan 2015 00:27:39 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7d43836b3ad54073a98926450ff0bca7bc34ddeb
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7d43836 by Deon van der Westhuysen (deonvdw@xxxxxxxxx):

    QT: stats_tree plug-ins not added to statistics menu
    
    Wireshark Qt does not add plug-ins that register with stats_tree_register_plugin() to the statistics menu in the ui (like the gtk version does).
    
    This patch dynamically adds all registered stats_tree plug-ins to the statistics menu.
    
    Bug: 9528
    Change-Id: I99f9415502ca9f7121d494c856861edc1a762079
    Signed-off-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/6336
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  d5ee022   Replace C++ style comment with C style.
    adds  7d43836   QT: stats_tree plug-ins not added to statistics menu


Summary of changes:
 ui/qt/main_window.cpp       |   14 ++++++++++++++
 ui/qt/main_window.h         |    3 +++
 ui/qt/main_window_slots.cpp |   44 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)