From 3ce0e6ca958769ffa373fe79ab2788c368e4d92c Mon Sep 17 00:00:00 2001 From: redstrate Date: Tue, 9 Nov 2021 10:54:31 -0500 Subject: [PATCH] Move wine settings box to it's own column --- src/settingswindow.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/settingswindow.cpp b/src/settingswindow.cpp index 19647e8..5875ed8 100644 --- a/src/settingswindow.cpp +++ b/src/settingswindow.cpp @@ -23,9 +23,6 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window auto mainLayout = new QGridLayout(this); setLayout(mainLayout); - auto layout = new QFormLayout(); - mainLayout->addLayout(layout, 0, 1); - auto profileWidget = new QListWidget(); profileWidget->addItem("Default"); mainLayout->addWidget(profileWidget, 0, 0); @@ -34,7 +31,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window auto gameBoxLayout = new QFormLayout(); gameBox->setLayout(gameBoxLayout); - layout->addRow(gameBox); + mainLayout->addWidget(gameBox, 0, 1); auto serverType = new QComboBox(); serverType->insertItem(0, "Square Enix"); @@ -82,7 +79,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window auto wineBoxLayout = new QFormLayout(); wineBox->setLayout(wineBoxLayout); - layout->addRow(wineBox); + mainLayout->addWidget(wineBox, 0, 2); auto infoLabel = new QLabel("This is a list of possible enhancements you can make to your Wine gaming experience.\n" "This is all stuff you can do outside of the launcher, but we can take care of it for you.");