mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 12:57:45 +00:00
Add boot version info to settings
This commit is contained in:
parent
34eb4b4f3c
commit
4d0ccedbb4
1 changed files with 5 additions and 1 deletions
|
@ -92,7 +92,7 @@ SettingsWindow::SettingsWindow(LauncherWindow& window, LauncherCore& core, QWidg
|
|||
gameBoxLayout->addWidget(gameDirectoryButton);
|
||||
|
||||
expansionVersionLabel = new QLabel();
|
||||
gameBoxLayout->addWidget(expansionVersionLabel);
|
||||
gameBoxLayout->addRow("Version Info", expansionVersionLabel);
|
||||
|
||||
auto loginBox = new QGroupBox("Login Options");
|
||||
auto loginBoxLayout = new QFormLayout();
|
||||
|
@ -301,6 +301,10 @@ void SettingsWindow::reloadControls() {
|
|||
expansionVersionLabel->setText("No game installed.");
|
||||
} else {
|
||||
QString expacString;
|
||||
|
||||
expacString += "Boot";
|
||||
expacString += QString(" (%1)\n").arg(profile.bootVersion);
|
||||
|
||||
if(profile.installedMaxExpansion >= 0) {
|
||||
expacString += "A Realm Reborn";
|
||||
expacString += QString(" (%1)\n").arg(profile.gameVersion);
|
||||
|
|
Loading…
Add table
Reference in a new issue