URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=54b9f87d477bc918a6352477104f5ad42373a00c
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark
Commits:
54b9f87 by Tomasz Moń (desowin@xxxxxxxxx):
Qt: Fix bug causing hidden columns to be displayed
Set capture file for model and header before columnsChanged() is called
to prevent skipping model reset in PacketListModel::resetColumns() due
to cap_file_ being NULL.
Do not strech last section in packet list header. This prevents
QHeaderViewPrivate::resizeSections() from messing up the column sizes
via resize events. For some reason (unknown to me) underlying
QHeaderView implementation has different idea about the number of
visible columns than our code.
Ping-Bug: 16063
Change-Id: I482c1080adb418b7922ee99d357d4962dc086026
Reviewed-on: https://code.wireshark.org/review/36120
Petri-Dish: Tomasz Moń <desowin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
(cherry picked from commit 113236a92e75b7556e906e7606be23b084650c1e)
Reviewed-on: https://code.wireshark.org/review/36435
Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
Actions performed:
from 5288432 [Automatic update for 2020-03-15]
add 54b9f87 Qt: Fix bug causing hidden columns to be displayed
Summary of changes:
ui/qt/models/packet_list_model.cpp | 1 -
ui/qt/packet_list.cpp | 6 +++---
ui/qt/widgets/packet_list_header.cpp | 2 +-
3 files changed, 4 insertions(+), 5 deletions(-)