summaryrefslogtreecommitdiff
path: root/ui/qt/main_window_slots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/main_window_slots.cpp')
-rw-r--r--ui/qt/main_window_slots.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index f0b78574d5..64ee853ff0 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -3545,11 +3545,10 @@ void MainWindow::on_actionCaptureStop_triggered()
void MainWindow::on_actionCaptureRestart_triggered()
{
QString before_what(tr(" before restarting a new capture"));
- if (!testCaptureFileClose(FALSE, before_what, true))
+ if (!testCaptureFileClose(false, before_what, true))
return;
/* TODO: GTK use only this: capture_restart(&cap_session_); */
- captureStop();
startCapture();
}