mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
eliminate magic number in src/modules/welcome/WelcomePage.cpp
This commit is contained in:
parent
559a65d169
commit
4c3c6f3f91
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue