X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.cpp;h=3cf2ff40ae2591333519367bb03b9cc6e70a3a95;hb=e71eb81c946c3524e01eaef9781ccbf170143d0c;hp=3ad494d31660fb17953ad8e7b110f4221868d79b;hpb=da30ecb7e72bd2547e524258efa5ec642988b70b;p=pulseview.git diff --git a/pv/popups/channels.cpp b/pv/popups/channels.cpp index 3ad494d..3cf2ff4 100644 --- a/pv/popups/channels.cpp +++ b/pv/popups/channels.cpp @@ -20,6 +20,9 @@ #include +#include +#include + #include #include #include @@ -110,7 +113,7 @@ Channels::Channels(Session &session, QWidget *parent) : } // Create a group - populate_group(NULL, global_sigs); + populate_group(nullptr, global_sigs); // Create the enable/disable all buttons connect(&enable_all_channels_, SIGNAL(clicked()), @@ -200,7 +203,7 @@ QGridLayout* Channels::create_channel_group_grid( check_box_signal_map_[checkbox] = sig; - if(++col >= 8) + if (++col >= 8) col = 0, row++; }