Wireshark-commits: [Wireshark-commits] master-2.0 941c0bd: Qt: Don't use QStyleOptionViewItemV4.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 16 Jul 2016 19:35:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=941c0bd2b60410a8cd9f50b03f2b3e6493777d3f
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

941c0bd by Gerald Combs (gerald@xxxxxxxx):

    Qt: Don't use QStyleOptionViewItemV4.
    
    It was deprecated in Qt 5.7. Just use QStyleOptionViewItem.
    
    Change-Id: I890305a11393940e21bdc68d90ca6602ade16769
    Reviewed-on: https://code.wireshark.org/review/16137
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 5e8649bd59f2acac3a95c158f2ecba179ef6ae27)
    Reviewed-on: https://code.wireshark.org/review/16503
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  c1fa491   CMake: Qt 5.7 requires C++ 11.
    adds  941c0bd   Qt: Don't use QStyleOptionViewItemV4.


Summary of changes:
 ui/qt/percent_bar_delegate.cpp    |   26 +++++++++++-----------
 ui/qt/related_packet_delegate.cpp |   44 ++++++++++++++++++++++---------------
 ui/qt/sparkline_delegate.cpp      |   16 +++++++-------
 3 files changed, 47 insertions(+), 39 deletions(-)