use fs::move instead of qt rename

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-11-04 16:49:35 +02:00
parent 79e299123c
commit 5afe6600ee
5 changed files with 7 additions and 9 deletions

View File

@ -652,8 +652,7 @@ bool move(const QString& source, const QString& dest)
if (err) {
qWarning() << "Failed to move file:" << QString::fromStdString(err.message());
qDebug() << "Source file:" << source;
qDebug() << "Destination file:" << dest;
qDebug() << "Source file:" << source << ";Destination file:" << dest;
}
return err.value() == 0;