From 7094c7bf39a1f6d625fb3db8344da5e60002807a Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 12 Jul 2021 14:56:04 +0200 Subject: [PATCH] [partition] Minor stylistic bits --- src/modules/partition/PartitionViewStep.cpp | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/modules/partition/PartitionViewStep.cpp b/src/modules/partition/PartitionViewStep.cpp index 8881d4569..5b225811e 100644 --- a/src/modules/partition/PartitionViewStep.cpp +++ b/src/modules/partition/PartitionViewStep.cpp @@ -112,7 +112,6 @@ PartitionViewStep::prettyName() const QString PartitionViewStep::prettyStatus() const { - //return tr( "Create new GPT partition table on /dev/sdb" ); //includes %1" ); .arg ( m_pkgc ); QString jobsLabel, modeText, diskInfoLabel; Config::InstallChoice choice = m_config->installChoice(); @@ -123,8 +122,8 @@ PartitionViewStep::prettyStatus() const cDebug() << "Summary for Partition" << list.length() << choice; if ( list.length() > 1 ) // There are changes on more than one disk { -// NOTE: all of this should only happen when Manual partitioning is active. -// Any other choice should result in a list.length() == 1. + // NOTE: all of this should only happen when Manual partitioning is active. + // Any other choice should result in a list.length() == 1. switch ( choice ) { case Config::Alongside: @@ -199,14 +198,6 @@ PartitionViewStep::prettyStatus() const return diskInfoLabel + "
" + jobsLabel; } - -QWidget* -PartitionViewStep::widget() -{ - return m_widget; -} - - QWidget* PartitionViewStep::createSummaryWidget() const { @@ -355,6 +346,11 @@ PartitionViewStep::createSummaryWidget() const return widget; } +QWidget* +PartitionViewStep::widget() +{ + return m_widget; +} void PartitionViewStep::next()