diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-12-21 16:41:49 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-12-22 00:42:15 +0000 |
commit | 8076f29fdb618e4c1e98bb3861d3f08457cefc1c (patch) | |
tree | 00449f3f11ed9a4e3f127ada4e8e660c5da287d3 /ui | |
parent | 8228bcfeec732a71370d1d4a9608292c408c6f9b (diff) |
Qt: Fix status bar signal.
Change-Id: Ie935269f6cbe9495b95bcc24b45198fbd284fb35
Reviewed-on: https://code.wireshark.org/review/5963
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/main_status_bar.cpp | 2 | ||||
-rw-r--r-- | ui/qt/main_window.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_status_bar.cpp b/ui/qt/main_status_bar.cpp index dac35af520..f320ebed59 100644 --- a/ui/qt/main_status_bar.cpp +++ b/ui/qt/main_status_bar.cpp @@ -172,8 +172,6 @@ MainStatusBar::MainStatusBar(QWidget *parent) : connect(wsApp, SIGNAL(appInitialized()), this, SLOT(pushProfileName())); connect(&info_status_, SIGNAL(toggleTemporaryFlash(bool)), this, SLOT(toggleBackground(bool))); - connect(wsApp, SIGNAL(captureCaptureUpdateContinue(capture_session*)), - this, SLOT(updateCaptureStatistics(capture_session*))); connect(wsApp, SIGNAL(configurationProfileChanged(const gchar *)), this, SLOT(pushProfileName())); connect(&profile_status_, SIGNAL(mousePressedAt(QPoint,Qt::MouseButton)), diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index cfa317e338..35538c3aaf 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -288,6 +288,8 @@ MainWindow::MainWindow(QWidget *parent) : this, SLOT(captureCaptureStopping(capture_session *))); connect(&capture_file_, SIGNAL(captureCaptureFailed(capture_session *)), this, SLOT(captureCaptureFailed(capture_session *))); + connect(&capture_file_, SIGNAL(captureCaptureUpdateContinue(capture_session*)), + main_ui_->statusBar, SLOT(updateCaptureStatistics(capture_session*))); connect(&capture_file_, SIGNAL(captureFileOpened()), this, SLOT(captureFileOpened())); |