Wireshark-commits: [Wireshark-commits] master e1e41c0: Qt: fix wrong default packet list order in Q

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 10 Aug 2019 18:50:51 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e1e41c0db5538c58bcbe907cb8020ea89c830fc7
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

e1e41c0 by Peter Wu (peter@xxxxxxxxxxxxx):

    Qt: fix wrong default packet list order in Qt 5.13
    
    Workaround a Qt 5.13 bug that made QTreeView::sortByColumn(-1)
    ineffective and results in sorting rows by the first column in reverse
    order.
    
    This must be called before setModel since that already triggers sorting.
    
    Bug: 15979
    Change-Id: I86c26959d3cb9dd4118193dcda4b1308cc911290
    Reviewed-on: https://code.wireshark.org/review/34226
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  5750f24   Qt: Correctly present numerous text on extcap
     add  e1e41c0   Qt: fix wrong default packet list order in Qt 5.13


Summary of changes:
 ui/qt/packet_list.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)