add message box on save
This commit is contained in:
parent
09b23fc296
commit
a6aad07f05
3 changed files with 15 additions and 3 deletions
|
|
@ -168,7 +168,7 @@ bool MainObject::storeJsonObjectToDisk(const QJsonObject& json, QString filePath
|
|||
file.write(document.toJson());
|
||||
file.close();
|
||||
QFile::remove(filePath);
|
||||
file.rename(filePath);
|
||||
file.rename(filePath);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue