aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/main_window_slots.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-01-20 16:05:56 -0800
committerAnders Broman <a.broman58@gmail.com>2017-01-21 06:50:30 +0000
commit05fbb4826bcb182cc3895874a15585a96703ce1f (patch)
tree448763b393a9ba79c49df7d98c94a77a9e05849d /ui/qt/main_window_slots.cpp
parent317649f94984cf3d17f2a57badebb78d7703cdb5 (diff)
Qt: Show merge progress.
Add "file merge" callback plumbing. Use it to display "Merging files" in the main statusbar. Make sure we have a usable window pointer when we merge files. Change-Id: I236b6edb30685f0b06703ab8304bc88ae592f83c Reviewed-on: https://code.wireshark.org/review/19716 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/main_window_slots.cpp')
-rw-r--r--ui/qt/main_window_slots.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 4ae7dbe88c..083eb5fd43 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -756,6 +756,19 @@ void MainWindow::captureFileRetapFinished()
thaw();
}
+void MainWindow::captureFileMergeStarted()
+{
+ main_ui_->statusBar->popFileStatus();
+ QString msg = tr("Merging files");
+ QString msgtip = QString();
+ main_ui_->statusBar->pushFileStatus(msg, msgtip);
+}
+
+void MainWindow::captureFileMergeFinished()
+{
+ main_ui_->statusBar->popFileStatus();
+}
+
void MainWindow::captureFileFlushTapsData()
{
draw_tap_listeners(FALSE);