Qt: Sort traffic table default protos
When changing conversation types in Conversations and endpoint types in Endpoints the tabs will be arranged alphabetically, so ensure that the default protos also are alphabetically. Change-Id: Ib0e8ffb744f63867e93282b7a81b1c11b0ee3dc4 Reviewed-on: https://code.wireshark.org/review/13107 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
f3ae6c9c5c
commit
5dcce344ac
|
@ -100,8 +100,8 @@ TrafficTableDialog::~TrafficTableDialog()
|
|||
const QList<int> TrafficTableDialog::defaultProtos() const
|
||||
{
|
||||
// Reasonable defaults?
|
||||
return QList<int>() << proto_get_id_by_filter_name( "tcp" ) << proto_get_id_by_filter_name( "eth" )
|
||||
<< proto_get_id_by_filter_name( "ip" ) << proto_get_id_by_filter_name( "ipv6" )
|
||||
return QList<int>() << proto_get_id_by_filter_name( "eth" ) << proto_get_id_by_filter_name( "ip" )
|
||||
<< proto_get_id_by_filter_name( "ipv6" ) << proto_get_id_by_filter_name( "tcp" )
|
||||
<< proto_get_id_by_filter_name( "udp" );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue