Merge pull request #870 from Scrumplex/fix-release-build

Fix release builds
This commit is contained in:
Ezekiel Smith 2022-07-04 00:25:03 +10:00 committed by GitHub
commit 412fdb0f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();