diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-03 14:32:01 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-03 14:32:31 +0200 |
commit | 278d2169da20f53f71d75925afea44ecbc23fdcf (patch) | |
tree | ef73613b9e2ab39224674c96bb0a2927f958289a | |
parent | 5599b5a337c04e23fd1b0d1b4cc4b54906ab0657 (diff) | |
download | PrismLauncher-278d2169da20f53f71d75925afea44ecbc23fdcf.tar.gz PrismLauncher-278d2169da20f53f71d75925afea44ecbc23fdcf.tar.bz2 PrismLauncher-278d2169da20f53f71d75925afea44ecbc23fdcf.zip |
fix: initialize accountIsOnline to fix build
CMAKE_BUILD_TYPE=Release makes the build fail otherwise.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r-- | launcher/ui/pages/global/AccountListPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp index f90ba863..a608771e 100644 --- a/launcher/ui/pages/global/AccountListPage.cpp +++ b/launcher/ui/pages/global/AccountListPage.cpp @@ -257,7 +257,7 @@ void AccountListPage::updateButtonStates() QModelIndexList selection = ui->listView->selectionModel()->selectedIndexes(); bool hasSelection = !selection.empty(); bool accountIsReady = false; - bool accountIsOnline; + bool accountIsOnline = false; if (hasSelection) { QModelIndex selected = selection.first(); |