/*
- * This file is part of the sigrok project.
+ * This file is part of the PulseView project.
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
return (uint64_t)_sample_rate_value.value();
else if(_sample_rate_list_action->isVisible())
{
- const int index = _device_selector.currentIndex();
+ const int index = _sample_rate_list.currentIndex();
if(index < 0)
return 0;
- return _device_selector.itemData(index).value<uint64_t>();
+ return _sample_rate_list.itemData(index).value<uint64_t>();
}
return 0;