aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/qt/main_window_slots.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 0d0ac3e4c9..ef2840e483 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -3252,7 +3252,8 @@ void MainWindow::on_actionCaptureStart_triggered()
}
/* XXX - will closing this remove a temporary file? */
- if (testCaptureFileClose(FALSE, *new QString(" before starting a new capture"))) {
+ QString before_what(tr(" before starting a new capture"));
+ if (testCaptureFileClose(FALSE, before_what)) {
startCapture();
} else {
// simply clicking the button sets it to 'checked' even though we've