Use the target system's boot name in partitioning summary widget.

This commit is contained in:
Teo Mrnjavac 2016-10-14 15:27:24 +02:00 committed by Philip
parent 9a5221bbd8
commit 130eb43b26

View File

@ -250,6 +250,8 @@ PartitionViewStep::createSummaryWidget() const
previewLabels->setModel( info.partitionModelAfter ); previewLabels->setModel( info.partitionModelAfter );
preview->setSelectionMode( QAbstractItemView::NoSelection ); preview->setSelectionMode( QAbstractItemView::NoSelection );
previewLabels->setSelectionMode( QAbstractItemView::NoSelection ); previewLabels->setSelectionMode( QAbstractItemView::NoSelection );
previewLabels->setCustomNewRootLabel( Calamares::Branding::instance()->
string( Calamares::Branding::BootloaderEntryName ) );
info.partitionModelAfter->setParent( widget ); info.partitionModelAfter->setParent( widget );
field = new QVBoxLayout; field = new QVBoxLayout;
CalamaresUtils::unmarginLayout( field ); CalamaresUtils::unmarginLayout( field );