diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-06-21 15:51:35 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-06-21 21:00:44 +0000 |
commit | 16f70b9bb1faf48d985e21fcfa92d1934c2b50f5 (patch) | |
tree | 50c21f360ffeac341683420650e0e65092d483e8 /ui/gtk/airpcap_dlg.c | |
parent | 6117ff496becee208336847a0cf460c15751ef6d (diff) | |
download | wireshark-16f70b9bb1faf48d985e21fcfa92d1934c2b50f5.tar.gz |
Qt: fix sorting of custom columns with multiple fields
Fields like "dns.time || http.time || smb.time" were sorted by column
number before. Recognize when all fields are numeric values and then try
to sort by number and otherwise fallback to a value comparison.
In theory sorting should now also be a bit faster for custom columns
because the columnn type is looked up once.
Change-Id: Id40d7cce8080d05823d74459fc493ec6ebf80956
Reported-by: Laura Chappell
Reviewed-on: https://code.wireshark.org/review/22317
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/airpcap_dlg.c')
0 files changed, 0 insertions, 0 deletions