Skip to content

Commit

Permalink
Desktop: Fix Finding Reported by Coverity.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Keller <github@ike.ch>
  • Loading branch information
mikeller authored and bstoeger committed May 18, 2024
1 parent a66bdb1 commit c3d8078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop-widgets/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c3d8078

Please sign in to comment.