mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 16:53:00 -07:00
[SettingsManager] Make setting getters const (#6748)
* [SettingsManager] Make setting getters const * remove hashGameType from header
This commit is contained in:
parent
d8e3807ec5
commit
34a5b8b9ce
22 changed files with 124 additions and 126 deletions
|
|
@ -7,7 +7,7 @@ RecentsSettings::RecentsSettings(const QString &settingPath, QObject *parent)
|
|||
{
|
||||
}
|
||||
|
||||
QStringList RecentsSettings::getRecentlyOpenedDeckPaths()
|
||||
QStringList RecentsSettings::getRecentlyOpenedDeckPaths() const
|
||||
{
|
||||
return getValue("deckpaths").toStringList();
|
||||
}
|
||||
|
|
@ -31,7 +31,7 @@ void RecentsSettings::updateRecentlyOpenedDeckPaths(const QString &deckPath)
|
|||
emit recentlyOpenedDeckPathsChanged();
|
||||
}
|
||||
|
||||
QString RecentsSettings::getLatestDeckDirPath()
|
||||
QString RecentsSettings::getLatestDeckDirPath() const
|
||||
{
|
||||
return getValue("latestDeckDir", "dirs").toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue