diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-11-26 19:15:44 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-11-27 05:29:08 +0000 |
commit | f5b816d4c92e633453fe65dfa56d80ad32bab477 (patch) | |
tree | d3299453b4edae79a21eb122b5b11ed3da201f06 /ui/qt/packet_list.h | |
parent | c51f207308d04bda005f84828b59cec4104e4b8f (diff) |
Qt: Check zero recent column width
Hidden columns may have been stored with zero width, so ensure
we always check for this when fetching.
Change-Id: I625c05adccaf2d81198fdeeccf7feeb9a9eb82c2
Reviewed-on: https://code.wireshark.org/review/12196
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/packet_list.h')
-rw-r--r-- | ui/qt/packet_list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/packet_list.h b/ui/qt/packet_list.h index f4e6217088..f0786a5ecc 100644 --- a/ui/qt/packet_list.h +++ b/ui/qt/packet_list.h @@ -122,6 +122,7 @@ private: void setFrameReftime(gboolean set, frame_data *fdata); void setColumnVisibility(); int sizeHintForColumn(int column) const; + void setRecentColumnWidth(int column); void initHeaderContextMenu(); void drawCurrentPacket(); |