From 4d0ccedbb451040cf117d317cd206527338ce3c7 Mon Sep 17 00:00:00 2001 From: redstrate Date: Thu, 2 Dec 2021 15:04:28 -0500 Subject: [PATCH] Add boot version info to settings --- src/settingswindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/settingswindow.cpp b/src/settingswindow.cpp index 9c43f43..34ba69e 100644 --- a/src/settingswindow.cpp +++ b/src/settingswindow.cpp @@ -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);