Clang: stick with integers

This commit is contained in:
Adriaan de Groot 2017-06-27 09:28:32 -04:00
parent 8f867f72bc
commit cea9f0fb33

View File

@ -130,7 +130,7 @@ CheckerWidget::init( const QList< PrepareEntry >& checkEntries )
if ( !theImage.isNull() ) if ( !theImage.isNull() )
{ {
FixedAspectRatioLabel* imageLabel = new FixedAspectRatioLabel; FixedAspectRatioLabel* imageLabel = new FixedAspectRatioLabel;
imageLabel->setContentsMargins( 4, CalamaresUtils::defaultFontHeight()*0.75, 4, 4 ); imageLabel->setContentsMargins( 4, CalamaresUtils::defaultFontHeight() * 3 / 4, 4, 4 );
m_mainLayout->addWidget( imageLabel ); m_mainLayout->addWidget( imageLabel );
imageLabel->setAlignment( Qt::AlignCenter ); imageLabel->setAlignment( Qt::AlignCenter );
imageLabel->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); imageLabel->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );