Wireshark-commits: [Wireshark-commits] master 422c0f4: Qt: Make the packet map work with Qt 5.7.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 28 Jun 2016 19:12:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=422c0f45d497872a963363132ec92d400a79538f
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

422c0f4 by Gerald Combs (gerald@xxxxxxxx):

    Qt: Make the packet map work with Qt 5.7.
    
    It's not safe to assume that the overlay scroll bar range is equal(ish)
    to the number of packets. Adjust our arithmetic accordingly.
    
    Change-Id: Ic8cc8a746bdd2bdc6771794303e95a810bc3d1d2
    Reviewed-on: https://code.wireshark.org/review/16186
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  000ac66   Qt: Make recent preferences changes work with Qt4.
    adds  422c0f4   Qt: Make the packet map work with Qt 5.7.


Summary of changes:
 ui/qt/overlay_scroll_bar.cpp |   14 +++++++++-----
 ui/qt/overlay_scroll_bar.h   |    3 ++-
 ui/qt/packet_list.cpp        |    2 +-
 3 files changed, 12 insertions(+), 7 deletions(-)