mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Merge pull request #1233 from bill-auger/patch-4
eliminate magic number in src/modules/welcome/WelcomePage.cpp
This commit is contained in:
commit
07bd22ba95
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