projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b56c64
)
GlobalSettings: Enable "show sampling points" by default
author
Soeren Apel
<soeren@apelpie.net>
Sun, 18 Jun 2017 18:50:56 +0000
(20:50 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 5 Jul 2017 22:37:08 +0000
(
00:37
+0200)
pv/globalsettings.cpp
patch
|
blob
|
history
diff --git
a/pv/globalsettings.cpp
b/pv/globalsettings.cpp
index ee9741030c1098ee8d6c5352dfef6feccfa5fbdf..0a41f31d722315406b2efe1e7170ae9b24769059 100644
(file)
--- a/
pv/globalsettings.cpp
+++ b/
pv/globalsettings.cpp
@@
-47,6
+47,10
@@
void GlobalSettings::set_defaults_where_needed()
// Enable coloured trace backgrounds by default
if (!contains(Key_View_ColouredBG))
setValue(Key_View_ColouredBG, true);
+
+ // Enable showing sampling points by default
+ if (!contains(Key_View_ShowSamplingPoints))
+ setValue(Key_View_ShowSamplingPoints, true);
}
void GlobalSettings::register_change_handler(const QString key,