projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3713408
)
Fix build with -DENABLE_DECODE=n.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 1 Apr 2018 17:52:18 +0000
(19:52 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 1 Apr 2018 17:52:18 +0000
(19:52 +0200)
pv/logging.cpp
patch
|
blob
|
history
diff --git
a/pv/logging.cpp
b/pv/logging.cpp
index 9740690e7f33e87364a4a915c22499127b3f0cc2..49b7d5828359962dcc0f4fbdc274865c783c826d 100644
(file)
--- a/
pv/logging.cpp
+++ b/
pv/logging.cpp
@@
-72,7
+72,9
@@
int Logging::get_log_level() const
void Logging::set_log_level(int level)
{
sr_log_loglevel_set(level);
void Logging::set_log_level(int level)
{
sr_log_loglevel_set(level);
+#ifdef ENABLE_DECODE
srd_log_loglevel_set(level);
srd_log_loglevel_set(level);
+#endif
}
QString Logging::get_log() const
}
QString Logging::get_log() const