Wireshark-commits: [Wireshark-commits] master-2.0 7d6373e: Qt: remove automatic horizontal scrollin
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Nov 2015 18:50:23 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7d6373ee22ef01c1860a9c1f3fab5c02de53de0e
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

7d6373e by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Qt: remove automatic horizontal scrolling when selecting a row
    
    QTreeView automatically scrolls so as to show as much as possible the content of the selected column.
    Let's get rid of that.
    Rename PacketList::setAutoScroll() so that it does not overload QAbstractItemView::setAutoscroll()
    
    Change-Id: I09fb54f9b31c3025efddce6a4e709baaf107702d
    Reviewed-on: https://code.wireshark.org/review/12225
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit 56625dd4562d89f711ab68caa8cf849509b0970f)
    Reviewed-on: https://code.wireshark.org/review/12230
    

Actions performed:

    from  3cd7991   Fix display of bytes as EBCDIC
    adds  7d6373e   Qt: remove automatic horizontal scrolling when selecting a row


Summary of changes:
 ui/qt/main_window_slots.cpp |    6 +++---
 ui/qt/packet_list.cpp       |    3 ++-
 ui/qt/packet_list.h         |    2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)