]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/channels.cpp
Random simplifications, cosmetics/whitespace/consistency fixes.
[pulseview.git] / pv / popups / channels.cpp
index 0251a9d17a0d6604a666afc02c40b4f80c58c5be..4a5e396c2e08e685d81205caa642608d3be73a13 100644 (file)
@@ -168,13 +168,11 @@ void Channels::populate_group(shared_ptr<ChannelGroup> group,
                        QString("<h3>%1</h3>").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);
        }