Make SettingsManager params const ref (#5405)

* pass settingsPath by const ref

* pass params by const ref

* cleanup
This commit is contained in:
RickyRister 2025-01-01 21:33:37 -08:00 committed by GitHub
parent f924b04efd
commit bb4214e28a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 25 additions and 26 deletions

View file

@ -2,7 +2,7 @@
#define MAX_RECENT_DECK_COUNT 10
RecentsSettings::RecentsSettings(QString settingPath, QObject *parent)
RecentsSettings::RecentsSettings(const QString &settingPath, QObject *parent)
: SettingsManager(settingPath + "recents.ini", parent)
{
}