mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-24 13:27:45 +00:00
Move game license box below lobby URL in settings
This commit is contained in:
parent
aed67025df
commit
e8d1485256
1 changed files with 7 additions and 7 deletions
|
@ -198,6 +198,13 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC
|
|||
|
||||
loginBoxLayout->addRow("Server Lobby", serverType);
|
||||
|
||||
lobbyServerURL = new QLineEdit();
|
||||
connect(lobbyServerURL, &QLineEdit::editingFinished, [=] {
|
||||
getCurrentProfile().lobbyURL = lobbyServerURL->text();
|
||||
this->core.saveSettings();
|
||||
});
|
||||
loginBoxLayout->addRow("Lobby URL", lobbyServerURL);
|
||||
|
||||
gameLicenseBox = new QComboBox();
|
||||
gameLicenseBox->insertItem(0, "Windows (Standalone)");
|
||||
gameLicenseBox->insertItem(1, "Windows (Steam)");
|
||||
|
@ -214,13 +221,6 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC
|
|||
|
||||
loginBoxLayout->addRow("Game License", gameLicenseBox);
|
||||
|
||||
lobbyServerURL = new QLineEdit();
|
||||
connect(lobbyServerURL, &QLineEdit::editingFinished, [=] {
|
||||
getCurrentProfile().lobbyURL = lobbyServerURL->text();
|
||||
this->core.saveSettings();
|
||||
});
|
||||
loginBoxLayout->addRow("Lobby URL", lobbyServerURL);
|
||||
|
||||
rememberUsernameBox = new QCheckBox();
|
||||
connect(rememberUsernameBox, &QCheckBox::stateChanged, [=](int) {
|
||||
getCurrentProfile().rememberUsername =
|
||||
|
|
Loading…
Add table
Reference in a new issue