From c3d807802deffa8233edd5e32da7e0d63c43a4a2 Mon Sep 17 00:00:00 2001 From: =Michael Keller Date: Sat, 18 May 2024 09:24:37 +1200 Subject: [PATCH] Desktop: Fix Finding Reported by Coverity. Signed-off-by: Michael Keller --- desktop-widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 6f0c96d86..0d5789063 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -1007,7 +1007,7 @@ bool MainWindow::askSaveChanges() tr("Do you want to save the changes that you made in the file %1?").arg(displayedFilename(existing_filename)) : tr("Do you want to save the changes that you made in the data file?"); - int ret = saveChangesConfirmationBox(message); + int ret = saveChangesConfirmationBox(std::move(message)); switch (ret) { case QMessageBox::Save: file_save();