Clang: warnings-- (unused, init-order)

This commit is contained in:
Adriaan de Groot 2017-09-20 09:24:33 +02:00
parent 81db2bad5f
commit af2643cdfc

View File

@ -36,9 +36,10 @@ static const int SECTION_SPACING = 12;
SummaryPage::SummaryPage( const SummaryViewStep* thisViewStep, QWidget* parent ) SummaryPage::SummaryPage( const SummaryViewStep* thisViewStep, QWidget* parent )
: QWidget() : QWidget()
, m_thisViewStep( thisViewStep ) , m_thisViewStep( thisViewStep )
, m_scrollArea( new QScrollArea( this ) )
, m_contentWidget( nullptr ) , m_contentWidget( nullptr )
, m_scrollArea( new QScrollArea( this ) )
{ {
Q_UNUSED( parent );
Q_ASSERT( m_thisViewStep ); Q_ASSERT( m_thisViewStep );
QVBoxLayout* layout = new QVBoxLayout( this ); QVBoxLayout* layout = new QVBoxLayout( this );
layout->setContentsMargins( 0, 0, 0, 0 ); layout->setContentsMargins( 0, 0, 0, 0 );
@ -65,7 +66,6 @@ SummaryPage::onActivate()
{ {
createContentWidget(); createContentWidget();
QString text;
bool first = true; bool first = true;
const Calamares::ViewStepList steps = const Calamares::ViewStepList steps =
stepsForSummary( Calamares::ViewManager::instance()->viewSteps() ); stepsForSummary( Calamares::ViewManager::instance()->viewSteps() );