[welcome] Drop unneeded member variable
This commit is contained in:
parent
ed1b3b576f
commit
320dcac946
@ -134,13 +134,14 @@ ResultsListWidget::ResultsListWidget( QWidget* parent )
|
||||
m_mainLayout = new QVBoxLayout;
|
||||
setLayout( m_mainLayout );
|
||||
|
||||
int paddingSize = qBound( 32, CalamaresUtils::defaultFontHeight() * 4, 128 );
|
||||
|
||||
QHBoxLayout* spacerLayout = new QHBoxLayout;
|
||||
m_mainLayout->addLayout( spacerLayout );
|
||||
m_paddingSize = qBound( 32, CalamaresUtils::defaultFontHeight() * 4, 128 );
|
||||
spacerLayout->addSpacing( m_paddingSize );
|
||||
spacerLayout->addSpacing( paddingSize );
|
||||
m_entriesLayout = new QVBoxLayout;
|
||||
spacerLayout->addLayout( m_entriesLayout );
|
||||
spacerLayout->addSpacing( m_paddingSize );
|
||||
spacerLayout->addSpacing( paddingSize );
|
||||
CalamaresUtils::unmarginLayout( spacerLayout );
|
||||
}
|
||||
|
||||
@ -260,7 +261,6 @@ ResultsListWidget::init( const Calamares::RequirementsList& checkEntries )
|
||||
}
|
||||
|
||||
|
||||
|
||||
void
|
||||
ResultsListWidget::showDetailsDialog( const Calamares::RequirementsList& checkEntries )
|
||||
{
|
||||
|
@ -38,7 +38,6 @@ private:
|
||||
|
||||
QBoxLayout* m_mainLayout;
|
||||
QBoxLayout* m_entriesLayout;
|
||||
int m_paddingSize;
|
||||
};
|
||||
|
||||
#endif // CHECKER_RESULTSLISTWIDGET_H
|
||||
#endif // CHECKER_RESULTSLISTWIDGET_H
|
||||
|
Loading…
Reference in New Issue
Block a user