mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 17:32:15 -07:00
pass settingsPath by const ref
This commit is contained in:
parent
8c0093d453
commit
677a5a1a1c
16 changed files with 16 additions and 16 deletions
|
|
@ -10,7 +10,7 @@ class SettingsManager : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SettingsManager(QString settingPath, QObject *parent = nullptr);
|
||||
explicit SettingsManager(const QString &settingPath, QObject *parent = nullptr);
|
||||
QVariant getValue(QString name, QString group = "", QString subGroup = "");
|
||||
void sync();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue