diff options
author | Roland Knall <roland.knall@br-automation.com> | 2017-10-25 15:39:35 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-10-31 11:42:21 +0000 |
commit | 56a130a152db73ea37f91d39be7d72f814013236 (patch) | |
tree | bc30c2a8cc9f0c4ad6ecd6ddf4a895b5f49b2fcb /ui/qt/main_window.cpp | |
parent | c5165f325b6742f407a951f9c7d959314f15a6b5 (diff) |
ByteViewText: Remove epan dependancy
Remove all dependancy for the byte_view_text from the epan system,
and therefore cleanly separate data and display for further separation
of dissection and view
Change-Id: Id1ee91b93da4511afa95f24da4cbbf39cbb89b1f
Reviewed-on: https://code.wireshark.org/review/24050
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 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 0336b27d52..c2f0718515 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -476,6 +476,9 @@ MainWindow::MainWindow(QWidget *parent) : packet_list_->setByteViewTab(byte_view_tab_); packet_list_->installEventFilter(this); + connect(packet_list_, SIGNAL(packetSelectionChanged()), + byte_view_tab_, SLOT(packetSelectionChanged())); + main_welcome_ = main_ui_->welcomePage; // Packet list and proto tree must exist before these are called. @@ -685,10 +688,8 @@ MainWindow::MainWindow(QWidget *parent) : connect(proto_tree_, SIGNAL(editProtocolPreference(preference*,pref_module*)), main_ui_->preferenceEditorFrame, SLOT(editPreference(preference*,pref_module*))); - connect(byte_view_tab_, SIGNAL(byteFieldHovered(const QString&)), - main_ui_->statusBar, SLOT(pushByteStatus(const QString&))); - connect(byte_view_tab_, SIGNAL(currentChanged(int)), - this, SLOT(byteViewTabChanged(int))); + connect(byte_view_tab_, SIGNAL(tvbOffsetHovered(tvbuff_t *, int)), + this, SLOT(setTvbOffsetHovered(tvbuff_t *, int))); connect(main_ui_->statusBar, SIGNAL(showExpertInfo()), this, SLOT(on_actionAnalyzeExpertInfo_triggered())); |