mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 01:23:57 -07:00
[SettingsManager] Make setting getters const
This commit is contained in:
parent
74cce5ccb2
commit
4dba6a91bd
22 changed files with 124 additions and 124 deletions
|
|
@ -5,12 +5,12 @@ MessageSettings::MessageSettings(const QString &settingPath, QObject *parent)
|
|||
{
|
||||
}
|
||||
|
||||
QString MessageSettings::getMessageAt(int index)
|
||||
QString MessageSettings::getMessageAt(int index) const
|
||||
{
|
||||
return getValue(QString("msg%1").arg(index)).toString();
|
||||
}
|
||||
|
||||
int MessageSettings::getCount()
|
||||
int MessageSettings::getCount() const
|
||||
{
|
||||
return getValue("count").toInt();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue