mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
[Settings] Camel case everything
This commit is contained in:
parent
e37cb5dadf
commit
8a3ffac8e2
15 changed files with 481 additions and 352 deletions
|
|
@ -30,22 +30,22 @@ void DownloadSettings::resetToDefaultURLs()
|
|||
|
||||
bool DownloadSettings::getPicDownload() const
|
||||
{
|
||||
return getValue("picturedownload", QString(), QString(), true).toBool();
|
||||
return getValue("pictureDownload", QString(), QString(), true).toBool();
|
||||
}
|
||||
|
||||
void DownloadSettings::setPicDownload(bool _picDownload)
|
||||
{
|
||||
setValue(_picDownload, "picturedownload");
|
||||
setValue(_picDownload, "pictureDownload");
|
||||
emit picDownloadChanged();
|
||||
}
|
||||
|
||||
bool DownloadSettings::getDownloadSpoilersStatus() const
|
||||
{
|
||||
return getValue("downloadspoilers", QString(), QString(), false).toBool();
|
||||
return getValue("downloadSpoilers", QString(), QString(), false).toBool();
|
||||
}
|
||||
|
||||
void DownloadSettings::setDownloadSpoilerStatus(bool _spoilerStatus)
|
||||
{
|
||||
setValue(_spoilerStatus, "downloadspoilers");
|
||||
setValue(_spoilerStatus, "downloadSpoilers");
|
||||
emit downloadSpoilerStatusChanged();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue