fix: initialize accountIsOnline to fix build
CMAKE_BUILD_TYPE=Release makes the build fail otherwise. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
5599b5a337
commit
278d2169da
@ -257,7 +257,7 @@ void AccountListPage::updateButtonStates()
|
|||||||
QModelIndexList selection = ui->listView->selectionModel()->selectedIndexes();
|
QModelIndexList selection = ui->listView->selectionModel()->selectedIndexes();
|
||||||
bool hasSelection = !selection.empty();
|
bool hasSelection = !selection.empty();
|
||||||
bool accountIsReady = false;
|
bool accountIsReady = false;
|
||||||
bool accountIsOnline;
|
bool accountIsOnline = false;
|
||||||
if (hasSelection)
|
if (hasSelection)
|
||||||
{
|
{
|
||||||
QModelIndex selected = selection.first();
|
QModelIndex selected = selection.first();
|
||||||
|
Loading…
Reference in New Issue
Block a user