aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launcher/ui/pages/global/AccountListPage.cpp2
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();