projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused "using" declarations.
[pulseview.git]
/
pv
/
view
/
decodetrace.cpp
diff --git
a/pv/view/decodetrace.cpp
b/pv/view/decodetrace.cpp
index 5944fd6430876471f1976c3e992318fc9419ae86..670d6ef1dcb3b5b8b66c79516c93b2be8d322815 100644
(file)
--- a/
pv/view/decodetrace.cpp
+++ b/
pv/view/decodetrace.cpp
@@
-28,8
+28,6
@@
extern "C" {
#include <tuple>
#include <boost/functional/hash.hpp>
#include <tuple>
#include <boost/functional/hash.hpp>
-#include <boost/thread/locks.hpp>
-#include <boost/thread/shared_mutex.hpp>
#include <QAction>
#include <QApplication>
#include <QAction>
#include <QApplication>
@@
-54,13
+52,9
@@
extern "C" {
#include <pv/widgets/decodergroupbox.hpp>
#include <pv/widgets/decodermenu.hpp>
#include <pv/widgets/decodergroupbox.hpp>
#include <pv/widgets/decodermenu.hpp>
-using boost::shared_lock;
-using boost::shared_mutex;
using std::all_of;
using std::all_of;
-using std::dynamic_pointer_cast;
using std::list;
using std::list;
-using std::lock_guard;
using std::make_pair;
using std::max;
using std::make_pair;
using std::make_pair;
using std::max;
using std::make_pair;
@@
-877,7
+871,7
@@
QComboBox* DecodeTrace::create_channel_selector(
for (const shared_ptr<data::SignalBase> &b : sig_list) {
assert(b);
for (const shared_ptr<data::SignalBase> &b : sig_list) {
assert(b);
- if (b->
type() == data::SignalBase::LogicChannel
&& b->enabled()) {
+ if (b->
logic_data()
&& b->enabled()) {
selector->addItem(b->name(),
qVariantFromValue((void*)b.get()));
selector->addItem(b->name(),
qVariantFromValue((void*)b.get()));