From 3ebe14b411a9197fecec24b01b651fbe23770361 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 25 Jul 2021 02:08:01 -0500 Subject: [PATCH] Remove redundant addition of controlsLayout to rootLyt --- mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 0928b87..89d8f5e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -28,7 +28,6 @@ MainWindow::MainWindow(QWidget *parent): QMainWindow(parent) { const auto btnNextSong = new QPushButton(tr("Next Song (Right))"), this); const auto btnBlankSlides = new QPushButton(tr("Blank Slides (,)"), this); const auto btnShowSlides = new QPushButton(tr("Show Slides (.)"), this); - rootLyt->addLayout(controlsLayout); controlsLayout->addWidget(btnPrevSlide, 0, 0); controlsLayout->addWidget(btnNextSlide, 0, 1); controlsLayout->addWidget(btnPrevSong, 1, 0);