Commit fa3b8cdf authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

pick a better temp file location

so the following move would not try to cross device boundaries
parent bcde880d
......@@ -343,7 +343,7 @@ bool BinEditor::save(const QString &oldFileName, const QString &newFileName)
if (oldFileName != newFileName) {
QString tmpName;
QTemporaryFile tmp;
QTemporaryFile tmp(newFileName + QLatin1String(""));
if (!
return false;
tmpName = tmp.fileName();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment