mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 09:22:18 -07:00
[Settings] Camel case everything
This commit is contained in:
parent
e37cb5dadf
commit
8a3ffac8e2
15 changed files with 481 additions and 352 deletions
|
|
@ -222,15 +222,15 @@ void SettingsCache::loadPaths()
|
|||
// customPicsPath derived from picsPath
|
||||
QString picsPath = pathsIni.value("paths/pics").toString();
|
||||
if (picsPath.endsWith("/")) {
|
||||
computePath("custompics", picsPath + "CUSTOM/");
|
||||
computePath("customPics", picsPath + "CUSTOM/");
|
||||
} else {
|
||||
computePath("custompics", picsPath + "/CUSTOM/");
|
||||
computePath("customPics", picsPath + "/CUSTOM/");
|
||||
}
|
||||
|
||||
computePath("customsets", dataPath + "/customsets/");
|
||||
computeFilePath("carddatabase", dataPath + "/cards.xml");
|
||||
computeFilePath("tokendatabase", dataPath + "/tokens.xml");
|
||||
computeFilePath("spoilerdatabase", dataPath + "/spoiler.xml");
|
||||
computePath("customSets", dataPath + "/customsets/");
|
||||
computeFilePath("cardDatabase", dataPath + "/cards.xml");
|
||||
computeFilePath("tokenDatabase", dataPath + "/tokens.xml");
|
||||
computeFilePath("spoilerDatabase", dataPath + "/spoiler.xml");
|
||||
}
|
||||
|
||||
void SettingsCache::resetPaths()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue