History

Unimportant changes

Signals were made non-references for debugging, but that shouldn't actually matter since Qt copies the parameters anyway.

Dale Glass committed 4 years ago

Commit f7ab2be1 parent 51e1df53 files · +10 −9Browse files

Showing the changes to libraries/shared/src/SettingManager.cpp (1 of 3 files). Show all

Unified · Split

libraries/shared/src/SettingManager.cpp+4−3
@@ -29,13 +29,14 @@ namespace Setting { · 28 unmodified lines
29 init();29 init();
30 }30 }
31 31
32 void WriteWorker::setValue(const QString &key, const QVariant &value) {32 void WriteWorker::setValue(const QString key, const QVariant value) {
33 //qDebug() << "Setting config " << key << "to" << value;33 //qCDebug(settings_writer) << "Setting config " << key << "to" << value;
34
34 init();35 init();
35 _qSettings->setValue(key, value);36 _qSettings->setValue(key, value);
36 }37 }
37 38
38 void WriteWorker::removeKey(const QString &key) {39 void WriteWorker::removeKey(const QString key) {
39 init();40 init();
40 _qSettings->remove(key);41 _qSettings->remove(key);
41 }42 }