forked from osmocom/wireshark
Show just the description in the description column.
Don't show the display name, as that may include either the interface name, which is already in another column, or the column comment, which is also already in another column. Change-Id: I12f81d9e4579b82267062bb5e4e745925ed382b7 Reviewed-on: https://code.wireshark.org/review/29087 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
beacbab55a
commit
713651d9c3
|
@ -115,7 +115,7 @@ QVariant InterfaceTreeModel::data(const QModelIndex &index, int role) const
|
|||
/* Only the name is being displayed */
|
||||
if ( col == IFTREE_COL_NAME )
|
||||
{
|
||||
return QString(device->display_name);
|
||||
return QString(device->friendly_name);
|
||||
}
|
||||
else if ( col == IFTREE_COL_INTERFACE_NAME )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue