summaryrefslogtreecommitdiff
path: root/ui/qt/traffic_table_dialog.cpp
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-01-07 13:31:28 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2016-01-07 12:35:55 +0000
commit5dcce344accf94cd0143879117397fdff5e2def7 (patch)
tree31fd95e7d6239574a835024e1024a6e76301569a /ui/qt/traffic_table_dialog.cpp
parentf3ae6c9c5cac0811f465bc08e1adbb0b37e85a7f (diff)
downloadwireshark-5dcce344accf94cd0143879117397fdff5e2def7.tar.gz
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>
Diffstat (limited to 'ui/qt/traffic_table_dialog.cpp')
-rw-r--r--ui/qt/traffic_table_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/traffic_table_dialog.cpp b/ui/qt/traffic_table_dialog.cpp
index 5b89db9c15..aea2fd66ad 100644
--- a/ui/qt/traffic_table_dialog.cpp
+++ b/ui/qt/traffic_table_dialog.cpp
@@ -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" );
}