X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.cpp;h=ca142d68582a433eb0626661a459e8000653a5c6;hp=9c200b9db31eb5d1c6a3e35cafcc85b1ec2cdbbf;hb=2601ce965fc455d23f5a964b84ddd74eb93705c4;hpb=067bb62415847791709f4c3cad8bb252a63f45f8 diff --git a/pv/popups/channels.cpp b/pv/popups/channels.cpp index 9c200b9d..ca142d68 100644 --- a/pv/popups/channels.cpp +++ b/pv/popups/channels.cpp @@ -19,14 +19,6 @@ #include -#ifdef _WIN32 -// Windows: Avoid boost/thread namespace pollution (which includes windows.h). -#define NOGDI -#define NORESOURCE -#endif -#include -#include - #include #include #include @@ -38,18 +30,13 @@ #include #include #include -#include +#include #include using namespace Qt; -using boost::shared_lock; -using boost::shared_mutex; -using std::lock_guard; using std::map; -using std::mutex; -using std::set; using std::shared_ptr; using std::make_shared; using std::unordered_set; @@ -175,13 +162,11 @@ void Channels::populate_group(shared_ptr group, QString("

%1

").arg(group->name().c_str()))); // Create the channel group grid - QGridLayout *const channel_grid = - create_channel_group_grid(sigs); + QGridLayout *const channel_grid = create_channel_group_grid(sigs); layout_.addRow(channel_grid); // Create the channel group options - if (binding) - { + if (binding) { binding->add_properties_to_form(&layout_, true); group_bindings_.push_back(binding); } @@ -259,5 +244,5 @@ void Channels::disable_all_channels() set_all_channels(false); } -} // popups -} // pv +} // namespace popups +} // namespace pv