summaryrefslogtreecommitdiff
path: root/ui/qt/packet_list_model.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-08-28 16:46:17 -0700
committerGerald Combs <gerald@wireshark.org>2015-08-31 15:21:43 +0000
commit3bec655b9793ab1ec609cbd06388411b0decfe97 (patch)
tree4bd6c8cec4ac9cfb450fa4a9d75a1aac25fddd53 /ui/qt/packet_list_model.h
parenta060183142f4eca019c546a01f8cecb28152e493 (diff)
downloadwireshark-3bec655b9793ab1ec609cbd06388411b0decfe97.tar.gz
Redraw the packet list when name resolution changes.
Call columnsChanged (which invalidates cached column strings) when we change our name resolution preferences from the View menu. Remove the last sorted column tracking from gf19a173 while we're here (it didn't work properly). Bug: 11468 Change-Id: I7fea58d702b283028235d023f27ab0336d8643a4 Reviewed-on: https://code.wireshark.org/review/10301 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/packet_list_model.h')
-rw-r--r--ui/qt/packet_list_model.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/packet_list_model.h b/ui/qt/packet_list_model.h
index 6e78a11a5d..4471ebf3a9 100644
--- a/ui/qt/packet_list_model.h
+++ b/ui/qt/packet_list_model.h
@@ -97,7 +97,6 @@ private:
int row_height_;
int line_spacing_;
- int last_sort_column_;
static int sort_column_;
static int text_sort_column_;
static Qt::SortOrder sort_order_;