Clang: stick with integers
This commit is contained in:
parent
8f867f72bc
commit
cea9f0fb33
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user