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
2929 init();
3030 }
3131
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+
3435 init();
3536 _qSettings->setValue(key, value);
3637 }
3738
38− void WriteWorker::removeKey(const QString &key) {
39+ void WriteWorker::removeKey(const QString key) {
3940 init();
4041 _qSettings->remove(key);
4142 }