mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Move lobby server type/url options to the new login options box
This commit is contained in:
parent
93196c8845
commit
53d0587559
1 changed files with 11 additions and 11 deletions
|
@ -33,17 +33,6 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
|
||||||
|
|
||||||
mainLayout->addWidget(gameBox, 0, 1);
|
mainLayout->addWidget(gameBox, 0, 1);
|
||||||
|
|
||||||
auto serverType = new QComboBox();
|
|
||||||
serverType->insertItem(0, "Square Enix");
|
|
||||||
serverType->insertItem(1, "Sapphire");
|
|
||||||
//serverType->setCurrentIndex(savedServerType);
|
|
||||||
|
|
||||||
gameBoxLayout->addRow("Server Lobby", serverType);
|
|
||||||
|
|
||||||
auto lobbyServerURL = new QLineEdit();
|
|
||||||
//lobbyServerURL->setText(savedLobbyURL);
|
|
||||||
gameBoxLayout->addRow("Lobby URL", lobbyServerURL);
|
|
||||||
|
|
||||||
auto directXCombo = new QComboBox();
|
auto directXCombo = new QComboBox();
|
||||||
directXCombo->setCurrentIndex(window.settings.value("directx", 0).toInt());
|
directXCombo->setCurrentIndex(window.settings.value("directx", 0).toInt());
|
||||||
directXCombo->addItem("DirectX 11");
|
directXCombo->addItem("DirectX 11");
|
||||||
|
@ -80,6 +69,17 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, QWidget* parent) : window
|
||||||
|
|
||||||
mainLayout->addWidget(loginBox, 1, 1);
|
mainLayout->addWidget(loginBox, 1, 1);
|
||||||
|
|
||||||
|
auto serverType = new QComboBox();
|
||||||
|
serverType->insertItem(0, "Square Enix");
|
||||||
|
serverType->insertItem(1, "Sapphire");
|
||||||
|
//serverType->setCurrentIndex(savedServerType);
|
||||||
|
|
||||||
|
loginBoxLayout->addRow("Server Lobby", serverType);
|
||||||
|
|
||||||
|
auto lobbyServerURL = new QLineEdit();
|
||||||
|
//lobbyServerURL->setText(savedLobbyURL);
|
||||||
|
loginBoxLayout->addRow("Lobby URL", lobbyServerURL);
|
||||||
|
|
||||||
auto rememberUsernameBox = new QCheckBox();
|
auto rememberUsernameBox = new QCheckBox();
|
||||||
//rememberUsernameBox->setChecked(shouldRememberUsername);
|
//rememberUsernameBox->setChecked(shouldRememberUsername);
|
||||||
loginBoxLayout->addRow("Remember Username?", rememberUsernameBox);
|
loginBoxLayout->addRow("Remember Username?", rememberUsernameBox);
|
||||||
|
|
Loading…
Add table
Reference in a new issue