projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Channels: Don't use flat buttons and add vertical spacer
[pulseview.git]
/
pv
/
globalsettings.cpp
diff --git
a/pv/globalsettings.cpp
b/pv/globalsettings.cpp
index 0aaffdd927946f08b755c1d811c4c28feaa511e5..088a6e27bda0701771e75c8a33c41debc89ed7f2 100644
(file)
--- a/
pv/globalsettings.cpp
+++ b/
pv/globalsettings.cpp
@@
-20,6
+20,7
@@
#include "globalsettings.hpp"
#include <QApplication>
#include "globalsettings.hpp"
#include <QApplication>
+#include <QDebug>
#include <QFontMetrics>
#include <QString>
#include <QFontMetrics>
#include <QString>
@@
-106,6
+107,8
@@
void GlobalSettings::setValue(const QString &key, const QVariant &value)
QSettings::setValue(key, value);
QSettings::setValue(key, value);
+ qDebug().noquote() << "Setting" << key << "changed to" << value;
+
// Call all registered callbacks
for (GlobalSettingsInterface *cb : callbacks_)
cb->on_setting_changed(key, value);
// Call all registered callbacks
for (GlobalSettingsInterface *cb : callbacks_)
cb->on_setting_changed(key, value);