Wireshark-commits: [Wireshark-commits] master 449bc19: Qt: support the -R option to set a read filt

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Nov 2014 16:01:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=449bc19ba9dd11431a3b4be547b1f37981fe77b9
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

449bc19 by Martin Kaiser (wireshark@xxxxxxxxx):

    Qt: support the -R option to set a read filter on the command line
    
    rename display_filter to read_filter in some places to make it clear
    what it's used for
    
    modify MainWindow::openCaptureFile() so that a read filter can be set
    when the file name is passed in cf_path, not only when it's chosen from
    a file selection dialogue
    
    don't display the read filter string in the filter toolbar
    
    Change-Id: Ie8dc94cbd1ff7e61ce1e2a55518a28297daa5d51
    Reviewed-on: https://code.wireshark.org/review/5446
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    

Actions performed:

    from  691f647   [MGCP] When changing tvb_length(tvb) -> tvb_reported_length(tvb) it turns out that tvb_new_subset(tvb, tvb_sectionbegin, sectionlen, -1) causes a problem as reported_length is set to -1, set it to sectionlen.
    adds  449bc19   Qt: support the -R option to set a read filter on the command line


Summary of changes:
 ui/qt/main.cpp              |    7 +++----
 ui/qt/main_window_slots.cpp |   47 +++++++++++++++++++++++++------------------
 2 files changed, 30 insertions(+), 24 deletions(-)