]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/decodergroupbox.cpp
Random simplifications, cosmetics/whitespace/consistency fixes.
[pulseview.git] / pv / widgets / decodergroupbox.cpp
index 81e5e90218cce848366d6021ec32c83c557ba2d0..f5b9f2533378e938f0a918510229e4da204f5526 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "decodergroupbox.hpp"
@@ -25,7 +24,7 @@
 #include <QPushButton>
 #include <QVBoxLayout>
 
-#include <assert.h>
+#include <cassert>
 
 namespace pv {
 namespace widgets {
@@ -38,8 +37,7 @@ DecoderGroupBox::DecoderGroupBox(QString title, QWidget *parent, bool isDeletabl
        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;