From 382e09d4b4b2e76dce71a79733039d4993ba0bdc Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 30 Jan 2022 19:43:19 -0600 Subject: [PATCH] Collapse slide controls into one line --- src/mainwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 817354d..0e539c0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -34,10 +34,10 @@ MainWindow::MainWindow(QWidget *parent): QMainWindow(parent) { const auto btnNextSong = new QPushButton(tr("Next Song (Right)"), this); const auto btnOpenLpHideSlides = new QPushButton(tr("Hide in Both (1)"), this); const auto btnOpenLpShowSlides = new QPushButton(tr("Show in OpenLP Only (2)"), this); - controlsLayout->addWidget(btnPrevSlide, 0, 0); - controlsLayout->addWidget(btnNextSlide, 0, 1); - controlsLayout->addWidget(btnPrevSong, 1, 0); - controlsLayout->addWidget(btnNextSong, 1, 1); + controlsLayout->addWidget(btnPrevSlide, 0, 1); + controlsLayout->addWidget(btnNextSlide, 0, 2); + controlsLayout->addWidget(btnPrevSong, 0, 0); + controlsLayout->addWidget(btnNextSong, 0, 3); showHideLyt->addWidget(btnOpenLpHideSlides); showHideLyt->addWidget(btnOpenLpShowSlides); btnNextSong->setShortcut(Qt::Key_Right);