Submitter: "Guy Harris <g...@alum.mit.edu>"
Changed: branch: master-2.4
cfb4f50 by Guy Harris (g...@alum.mit.edu):
More interface view cleanups.
Rename some of the columns - IFTREE_COL_NAME is the interface name,
IFTREE_COL_DESCRIPTION is the description/friendly name, and a new
IFTREE_COL_DISPLAY_NAME column is the display name (which may include
both the description and the interface name). Rename
IFTREE_COL_INTERFACE_COMMENT to just IFTREE_COL_COMMENT - there's no
*other* type of comment, and "IF" is short for "interface".
In the interface frame, use IFTREE_COL_DISPLAY_NAME, as that's the only
column that shows both and thus has something for all interfaces.
In the "Manage interfaces" dialog, put the description before the
interface name, as it was in earlier versions.
Reviewed-by: Guy Harris <g...@alum.mit.edu>
(cherry picked from commit 991f5a6e858ea116cb938c9acacee415ee075bab)
from 9616081 Show just the description in the description column.
add cfb4f50 More interface view cleanups.
Summary of changes:
ui/qt/interface_frame.cpp | 8 ++++----
ui/qt/interface_tree_cache_model.cpp | 6 +++---
ui/qt/interface_tree_model.cpp | 20 ++++++++++++++------
ui/qt/interface_tree_model.h | 5 +++--
ui/qt/manage_interfaces_dialog.cpp | 6 +++---
5 files changed, 27 insertions(+), 18 deletions(-)
Sent via: Wireshark-commits mailing list <firstname.lastname@example.org>