From 9b516281d837b976e4ea9864384946376b609b05 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 2 Apr 2015 12:50:17 +0200 Subject: [PATCH] ... and use them in the Greeting page. --- src/modules/greeting/GreetingPage.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/modules/greeting/GreetingPage.cpp b/src/modules/greeting/GreetingPage.cpp index f35632437..326a053b5 100644 --- a/src/modules/greeting/GreetingPage.cpp +++ b/src/modules/greeting/GreetingPage.cpp @@ -175,6 +175,10 @@ GreetingPage::setUpLinks( bool showSupportUrl, ui->supportButton->setText( tr( "%1 support" ) .arg( b->string( Branding::ShortProductName ) ) ); ) + ui->supportButton->setIcon( CalamaresUtils::defaultPixmap( CalamaresUtils::Help, + CalamaresUtils::Original, + 2*QSize( CalamaresUtils::defaultFontHeight(), + CalamaresUtils::defaultFontHeight() ) ) ); connect( ui->supportButton, &QPushButton::clicked, [] { QDesktopServices::openUrl( Branding::instance()->string( Branding::SupportUrl ) ); @@ -187,6 +191,10 @@ GreetingPage::setUpLinks( bool showSupportUrl, if ( showKnownIssuesUrl && !b->string( Branding::KnownIssuesUrl ).isEmpty() ) { + ui->knownIssuesButton->setIcon( CalamaresUtils::defaultPixmap( CalamaresUtils::Bugs, + CalamaresUtils::Original, + 2*QSize( CalamaresUtils::defaultFontHeight(), + CalamaresUtils::defaultFontHeight() ) ) ); connect( ui->knownIssuesButton, &QPushButton::clicked, [] { QDesktopServices::openUrl( Branding::instance()->string( Branding::KnownIssuesUrl ) ); @@ -199,6 +207,10 @@ GreetingPage::setUpLinks( bool showSupportUrl, if ( showReleaseNotesUrl && !b->string( Branding::ReleaseNotesUrl ).isEmpty() ) { + ui->releaseNotesButton->setIcon( CalamaresUtils::defaultPixmap( CalamaresUtils::Release, + CalamaresUtils::Original, + 2*QSize( CalamaresUtils::defaultFontHeight(), + CalamaresUtils::defaultFontHeight() ) ) ); connect( ui->releaseNotesButton, &QPushButton::clicked, [] { QDesktopServices::openUrl( Branding::instance()->string( Branding::ReleaseNotesUrl ) );