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

@ -8,7 +8,7 @@ class RecentsSettings : public SettingsManager
Q_OBJECT
friend class SettingsCache;
explicit RecentsSettings(QString settingPath, QObject *parent = nullptr);
explicit RecentsSettings(const QString &settingPath, QObject *parent = nullptr);
RecentsSettings(const RecentsSettings & /*other*/);
public: