Desktop: Fix Finding Reported by Coverity.
Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
a66bdb1bf5
commit
c3d807802d
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user