mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Fix Finding Reported by Coverity.
Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
a66bdb1bf5
commit
c3d807802d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue