Signals were made non-references for debugging, but that shouldn't actually matter since Qt copies the parameters anyway.
Showing the changes to libraries/shared/src/SettingManager.cpp (1 of 3 files). Show all
Unified · Split
| @@ -29,13 +29,14 @@ namespace Setting { · 28 unmodified lines | ||
| 29 | 29 | init(); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | − void WriteWorker::setValue(const QString &key, const QVariant &value) { | |
| 33 | − //qDebug() << "Setting config " << key << "to" << value; | |
| 32 | + void WriteWorker::setValue(const QString key, const QVariant value) { | |
| 33 | + //qCDebug(settings_writer) << "Setting config " << key << "to" << value; | |
| 34 | + | |
| 34 | 35 | init(); |
| 35 | 36 | _qSettings->setValue(key, value); |
| 36 | 37 | } |
| 37 | 38 | |
| 38 | − void WriteWorker::removeKey(const QString &key) { | |
| 39 | + void WriteWorker::removeKey(const QString key) { | |
| 39 | 40 | init(); |
| 40 | 41 | _qSettings->remove(key); |
| 41 | 42 | } |