]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/decodergroupbox.cpp
Random simplifications, cosmetics/whitespace/consistency fixes.
[pulseview.git] / pv / widgets / decodergroupbox.cpp
index 5827e28ce29f615f330c51bd4b6b12785f326785..f5b9f2533378e938f0a918510229e4da204f5526 100644 (file)
@@ -24,7 +24,7 @@
 #include <QPushButton>
 #include <QVBoxLayout>
 
 #include <QPushButton>
 #include <QVBoxLayout>
 
-#include <assert.h>
+#include <cassert>
 
 namespace pv {
 namespace widgets {
 
 namespace pv {
 namespace widgets {
@@ -37,8 +37,7 @@ DecoderGroupBox::DecoderGroupBox(QString title, QWidget *parent, bool isDeletabl
        layout_->setContentsMargins(0, 0, 0, 0);
        setLayout(layout_);
 
        layout_->setContentsMargins(0, 0, 0, 0);
        setLayout(layout_);
 
-       layout_->addWidget(new QLabel(QString("<h3>%1</h3>").arg(title)),
-               0, 0);
+       layout_->addWidget(new QLabel(QString("<h3>%1</h3>").arg(title)), 0, 0);
        layout_->setColumnStretch(0, 1);
 
        QHBoxLayout *const toolbar = new QHBoxLayout;
        layout_->setColumnStretch(0, 1);
 
        QHBoxLayout *const toolbar = new QHBoxLayout;