projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b5ea5a
)
Fix #888 by incrementing i only once per iteration
author
Soeren Apel
<soeren@apelpie.net>
Fri, 23 Jun 2017 20:14:44 +0000
(22:14 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 5 Jul 2017 22:37:08 +0000
(
00:37
+0200)
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index 732f4a8cbf55b69c7befe816cba3921f23fb80ec..b99f0cf73827b56b3f9c641dfa22e94dadef01f7 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-316,7
+316,7
@@
void Session::restore_settings(QSettings &settings)
int decode_signals = settings.value("decode_signals").toInt();
for (int i = 0; i < decode_signals; i++) {
- settings.beginGroup("decode_signal" + QString::number(i
++
));
+ settings.beginGroup("decode_signal" + QString::number(i));
shared_ptr<data::DecodeSignal> signal = add_decode_signal();
signal->restore_settings(settings);
settings.endGroup();