mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Protect existing fork profiles from inherited MTG imports and sources
This commit is contained in:
parent
6923284d04
commit
d70f199f97
1 changed files with 1 additions and 2 deletions
|
|
@ -264,8 +264,7 @@ void SettingsCache::loadPaths()
|
|||
if (!QFile::copy(QStringLiteral(":/resources/continuumatrice-empty-carddatabase.xml"), initialCardDb)) {
|
||||
qCWarning(SettingsCacheLog) << "Could not create Continuumatrice starter database:" << initialCardDb;
|
||||
} else {
|
||||
QFile::setPermissions(initialCardDb, QFile::ReadOwner | QFile::WriteOwner |
|
||||
QFile::ReadUser | QFile::WriteUser);
|
||||
QFile::setPermissions(initialCardDb, QFile::ReadOwner | QFile::WriteOwner);
|
||||
}
|
||||
}
|
||||
computeFilePath("tokenDatabase", dataPath + "/tokens.xml");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue