eliminate magic number in src/modules/welcome/WelcomePage.cpp

main
bill-auger 6 years ago
parent 559a65d169
commit 4c3c6f3f91
No known key found for this signature in database
GPG Key ID: 908710913E8C7778

@ -124,7 +124,8 @@ WelcomePage::WelcomePage( QWidget* parent )
mb.exec();
} );
ui->verticalLayout->insertWidget( 3, m_checkingWidget );
int welcome_text_idx = ui->verticalLayout->indexOf( ui->mainText );
ui->verticalLayout->insertWidget( welcome_text_idx + 1, m_checkingWidget );
}

Loading…
Cancel
Save