From 1acd3e5a8f4472b2332b29352fdc5e07e989cb2b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 9 Mar 2022 08:05:41 -0500 Subject: [PATCH] Put the add and delete profile buttons in reasonable places --- src/settingswindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/settingswindow.cpp b/src/settingswindow.cpp index a20050c..f7e8285 100644 --- a/src/settingswindow.cpp +++ b/src/settingswindow.cpp @@ -58,7 +58,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg connect(profileWidget, &QListWidget::currentRowChanged, this, &SettingsWindow::reloadControls); - profileLayout->addWidget(profileWidget, 0, 0, 0, 1); + profileLayout->addWidget(profileWidget, 0, 0, 3, 1); auto addProfileButton = new QPushButton("Add Profile"); connect(addProfileButton, &QPushButton::pressed, [=] { @@ -66,7 +66,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg this->core.saveSettings(); }); - profileLayout->addWidget(addProfileButton, 2, 0); + profileLayout->addWidget(addProfileButton, 3, 0); deleteProfileButton = new QPushButton("Delete Profile"); connect(deleteProfileButton, &QPushButton::pressed, [=] { @@ -75,7 +75,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg this->core.saveSettings(); }); - profileLayout->addWidget(deleteProfileButton, 3, 0); + profileLayout->addWidget(deleteProfileButton, 0, 2); nameEdit = new QLineEdit(); connect(nameEdit, &QLineEdit::editingFinished, [=] {