summaryrefslogtreecommitdiff
path: root/ui/qt/packet_list.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-12 13:12:26 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-12 21:12:58 +0000
commit9e9b5ecc0c001b8f742746b2b9f0104bab9a9d9a (patch)
tree022227b3eba93ae1df728eee38972ec22099f395 /ui/qt/packet_list.cpp
parent334485f65b1f35b193b18780cb7c166f62e1ffc9 (diff)
downloadwireshark-9e9b5ecc0c001b8f742746b2b9f0104bab9a9d9a.tar.gz
Move the declaration of packet_list_select_last_row() to ui/gtk/packet_list.h.
It's GTK+-only, so it shouldn't be in ui/ui_util.h. Get rid of the unused Qt packet list implementation of it. Change-Id: Ia9f8fe2209939dff5244e6948c36f29509340f68 Reviewed-on: https://code.wireshark.org/review/19226 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/qt/packet_list.cpp')
-rw-r--r--ui/qt/packet_list.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp
index 50985d8070..b5f5493a77 100644
--- a/ui/qt/packet_list.cpp
+++ b/ui/qt/packet_list.cpp
@@ -123,15 +123,6 @@ packet_list_select_first_row(void)
gbl_cur_packet_list->goFirstPacket();
}
-// GTK+ only
-void
-packet_list_select_last_row(void)
-{
- if (!gbl_cur_packet_list)
- return;
- gbl_cur_packet_list->goLastPacket();
-}
-
/*
* Given a frame_data structure, scroll to and select the row in the
* packet list corresponding to that frame. If there is no such