diff options
author | Roland Knall <rknall@gmail.com> | 2019-11-21 10:50:41 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2019-11-21 10:59:05 +0000 |
commit | cfee0f8082578810cbc88213edde3562f2a7bf73 (patch) | |
tree | a7faa696f466c3fc004709a602474af79361910d /ui/qt/main_window.cpp | |
parent | ecb90a4e25ac9aad866c76a9d65839dc27c77519 (diff) |
Qt: Remove frameSelect signal
As all frameSelect signals now transport a QList<int> of selected
frames, use this instead
Change-Id: I1888e45a4df997920aebde9706ca0ae803bdba03
Reviewed-on: https://code.wireshark.org/review/35176
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r-- | ui/qt/main_window.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 3dbd5a59bd..c945f28998 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -464,12 +464,8 @@ MainWindow::MainWindow(QWidget *parent) : packet_list_ = new PacketList(&master_split_); main_ui_->wirelessTimelineWidget->setPacketList(packet_list_); - connect(packet_list_, SIGNAL(frameSelected(int)), - this, SIGNAL(frameSelected(int))); - connect(packet_list_, SIGNAL(framesSelected(QList<int>)), - this, SLOT(framesSelected(QList<int>))); - connect(this, SIGNAL(frameSelected(int)), - this, SLOT(setMenusForSelectedPacket())); + connect(packet_list_, SIGNAL(framesSelected(QList<int>)), this, SLOT(setMenusForSelectedPacket())); + connect(packet_list_, SIGNAL(framesSelected(QList<int>)), this, SIGNAL(framesSelected(QList<int>))); proto_tree_ = new ProtoTree(&master_split_); proto_tree_->installEventFilter(this); @@ -562,10 +558,6 @@ MainWindow::MainWindow(QWidget *parent) : packet_list_, SLOT(setCaptureFile(capture_file*))); connect(this, SIGNAL(setCaptureFile(capture_file*)), proto_tree_, SLOT(setCaptureFile(capture_file*))); - connect(this, SIGNAL(frameSelected(int)), - main_ui_->wirelessTimelineWidget, SLOT(selectedFrameChanged(int))); - connect(this, SIGNAL(frameSelected(int)), - main_ui_->statusBar, SLOT(selectedFrameChanged(int))); connect(wsApp, SIGNAL(zoomMonospaceFont(QFont)), packet_list_, SLOT(setMonospaceFont(QFont))); @@ -594,8 +586,6 @@ MainWindow::MainWindow(QWidget *parent) : connect(main_ui_->actionViewCollapseAll, SIGNAL(triggered()), proto_tree_, SLOT(collapseAll())); - connect(packet_list_, SIGNAL(frameSelected(int)), - this, SIGNAL(frameSelected(int))); connect(packet_list_, SIGNAL(packetDissectionChanged()), this, SLOT(redissectPackets())); connect(packet_list_, SIGNAL(showColumnPreferences(QString)), |