diff --git a/src/modules/welcome/WelcomePage.cpp b/src/modules/welcome/WelcomePage.cpp
index e77924f85..d71ad70a8 100644
--- a/src/modules/welcome/WelcomePage.cpp
+++ b/src/modules/welcome/WelcomePage.cpp
@@ -51,34 +51,12 @@ WelcomePage::WelcomePage( Config* conf, QWidget* parent )
, m_languages( nullptr )
, m_conf( conf )
{
- connect( Calamares::ModuleManager::instance(),
- &Calamares::ModuleManager::requirementsComplete,
- m_checkingWidget,
- &CheckerContainer::requirementsComplete );
- connect( Calamares::ModuleManager::instance(),
- &Calamares::ModuleManager::requirementsProgress,
- m_checkingWidget,
- &CheckerContainer::requirementsProgress );
- ui->setupUi( this );
-
const int defaultFontHeight = CalamaresUtils::defaultFontHeight();
- ui->verticalLayout->insertSpacing( 1, defaultFontHeight * 2 );
- initLanguages();
-
- ui->mainText->setAlignment( Qt::AlignCenter );
- ui->mainText->setWordWrap( true );
- ui->mainText->setOpenExternalLinks( true );
-
- cDebug() << "Welcome string" << Calamares::Branding::instance()->welcomeStyleCalamares()
- << *Calamares::Branding::VersionedName;
-
- CALAMARES_RETRANSLATE_SLOT( &WelcomePage::retranslate )
-
+ ui->setupUi( this );
ui->aboutButton->setIcon( CalamaresUtils::defaultPixmap(
CalamaresUtils::Information,
CalamaresUtils::Original,
2 * QSize( defaultFontHeight, defaultFontHeight ) ) );
- connect( ui->aboutButton, &QPushButton::clicked, this, &WelcomePage::showAboutBox );
// insert system-check widget below welcome text
const int welcome_text_idx = ui->verticalLayout->indexOf( ui->mainText );
@@ -100,6 +78,22 @@ WelcomePage::WelcomePage( Config* conf, QWidget* parent )
ui->verticalLayout->insertWidget( welcome_text_idx, bannerLabel );
}
}
+
+ initLanguages();
+
+ cDebug() << "Welcome string" << Calamares::Branding::instance()->welcomeStyleCalamares()
+ << *Calamares::Branding::VersionedName;
+ CALAMARES_RETRANSLATE_SLOT( &WelcomePage::retranslate )
+
+ connect( ui->aboutButton, &QPushButton::clicked, this, &WelcomePage::showAboutBox );
+ connect( Calamares::ModuleManager::instance(),
+ &Calamares::ModuleManager::requirementsComplete,
+ m_checkingWidget,
+ &CheckerContainer::requirementsComplete );
+ connect( Calamares::ModuleManager::instance(),
+ &Calamares::ModuleManager::requirementsProgress,
+ m_checkingWidget,
+ &CheckerContainer::requirementsProgress );
}
void
diff --git a/src/modules/welcome/WelcomePage.ui b/src/modules/welcome/WelcomePage.ui
index 590029558..6c0d4c338 100644
--- a/src/modules/welcome/WelcomePage.ui
+++ b/src/modules/welcome/WelcomePage.ui
@@ -43,6 +43,12 @@
<Calamares welcome text>
+
+ Qt::AlignCenter
+
+
+ true
+
-
@@ -78,15 +84,15 @@
-
-
- Select application and system language
-
2
0
+
+ Select application and system language
+
-