diff options
Diffstat (limited to 'logic/auth')
-rw-r--r-- | logic/auth/MojangAccountList.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/auth/MojangAccountList.cpp b/logic/auth/MojangAccountList.cpp index 70bc0cf2..e3621dac 100644 --- a/logic/auth/MojangAccountList.cpp +++ b/logic/auth/MojangAccountList.cpp @@ -402,6 +402,7 @@ bool MojangAccountList::saveList(const QString &filePath) // Write the JSON to the file. file.write(doc.toJson()); + file.setPermissions(QFile::ReadOwner|QFile::WriteOwner|QFile::ReadUser|QFile::WriteUser); file.close(); QLOG_INFO() << "Saved account list to" << path; |