projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03443f3
)
GlobalSettings: Announce settings changes to allow logging
author
Soeren Apel
<soeren@apelpie.net>
Fri, 30 Mar 2018 17:08:58 +0000
(19:08 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 30 Mar 2018 19:05:16 +0000
(21:05 +0200)
pv/globalsettings.cpp
patch
|
blob
|
history
diff --git
a/pv/globalsettings.cpp
b/pv/globalsettings.cpp
index 0aaffdd927946f08b755c1d811c4c28feaa511e5..8be4265b247e729d00f9bccacd433283d868250f 100644
(file)
--- a/
pv/globalsettings.cpp
+++ b/
pv/globalsettings.cpp
@@
-20,6
+20,7
@@
#include "globalsettings.hpp"
#include <QApplication>
+#include <QDebug>
#include <QFontMetrics>
#include <QString>
@@
-106,6
+107,8
@@
void GlobalSettings::setValue(const QString &key, const QVariant &value)
QSettings::setValue(key, value);
+ qDebug() << "Setting" << key << "changed to" << value;
+
// Call all registered callbacks
for (GlobalSettingsInterface *cb : callbacks_)
cb->on_setting_changed(key, value);