#include <pv/popups/channels.hpp>
#include <pv/util.hpp>
-#include <libsigrok/libsigrok.hpp>
+#include <libsigrokcxx/libsigrokcxx.hpp>
using std::back_inserter;
using std::copy;
setMovable(false);
setFloatable(false);
+ setContextMenuPolicy(Qt::PreventContextMenu);
// Device selector menu
connect(&device_selector_, SIGNAL(device_selected()),
const auto iter = keys.find(ConfigKey::SAMPLERATE);
if (iter != keys.end() &&
(*iter).second.find(sigrok::LIST) != (*iter).second.end()) {
- const auto keys = device->config_keys(
- ConfigKey::DEVICE_OPTIONS);
try {
gvar_dict = device->config_list(ConfigKey::SAMPLERATE);
} catch(const sigrok::Error &e) {