projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When hovering a ViewItem only change the mouse cursor for movable items.
[pulseview.git]
/
pv
/
devices
/
device.cpp
diff --git
a/pv/devices/device.cpp
b/pv/devices/device.cpp
index 4027a1c2d820a35ba248e312f3d066af789df620..d7a78afae546c972af6cbf0a012364118bab075a 100644
(file)
--- a/
pv/devices/device.cpp
+++ b/
pv/devices/device.cpp
@@
-73,10
+73,10
@@
T Device::read_config(const ConfigKey *key, const T default_value)
const auto iter = keys.find(key);
if (iter == keys.end() ||
const auto iter = keys.find(key);
if (iter == keys.end() ||
- (*iter).second.find(sigrok::GET)
!
= (*iter).second.end())
+ (*iter).second.find(sigrok::GET)
=
= (*iter).second.end())
return default_value;
return default_value;
- return VariantBase::cast_dynamic<
Variant<T
>>(
+ return VariantBase::cast_dynamic<
Glib::Variant<guint64
>>(
device_->config_get(ConfigKey::SAMPLERATE)).get();
}
device_->config_get(ConfigKey::SAMPLERATE)).get();
}