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

@ -61,7 +61,7 @@ public:
bool getClearDebugLogStatus(bool abDefaultValue);
private:
explicit ServersSettings(QString settingPath, QObject *parent = nullptr);
explicit ServersSettings(const QString &settingPath, QObject *parent = nullptr);
ServersSettings(const ServersSettings & /*other*/);
};