mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 11:25:36 -04:00
Eliminate Prepare as a step.
This commit is contained in:
parent
766f5006b1
commit
02a8226b76
1 changed files with 1 additions and 8 deletions
|
@ -133,16 +133,9 @@ ProgressTreeModel::setupModelData()
|
||||||
m_rootItem = new ProgressTreeRoot();
|
m_rootItem = new ProgressTreeRoot();
|
||||||
const Calamares::ViewManager* vm = Calamares::ViewManager::instance();
|
const Calamares::ViewManager* vm = Calamares::ViewManager::instance();
|
||||||
|
|
||||||
TextTreeItem* prepare = new TextTreeItem( []() -> QString
|
|
||||||
{
|
|
||||||
return tr( "Prepare" );
|
|
||||||
},
|
|
||||||
m_rootItem );
|
|
||||||
m_rootItem->appendChild( prepare );
|
|
||||||
|
|
||||||
foreach ( const Calamares::ViewStep* step, vm->prepareSteps() )
|
foreach ( const Calamares::ViewStep* step, vm->prepareSteps() )
|
||||||
{
|
{
|
||||||
prepare->appendChild( new ViewStepItem( step, prepare ) );
|
m_rootItem->appendChild( new ViewStepItem( step, m_rootItem ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_rootItem->appendChild( new ViewStepItem(
|
m_rootItem->appendChild( new ViewStepItem(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue