aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window.cpp
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2017-10-25 15:39:35 +0200
committerRoland Knall <rknall@gmail.com>2017-10-31 11:42:21 +0000
commit56a130a152db73ea37f91d39be7d72f814013236 (patch)
treebc30c2a8cc9f0c4ad6ecd6ddf4a895b5f49b2fcb /ui/qt/main_window.cpp
parentc5165f325b6742f407a951f9c7d959314f15a6b5 (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.cpp9
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()));