diff --git a/src/calamares/progresstree/ProgressTreeModel.cpp b/src/calamares/progresstree/ProgressTreeModel.cpp index 03432328a..530b42796 100644 --- a/src/calamares/progresstree/ProgressTreeModel.cpp +++ b/src/calamares/progresstree/ProgressTreeModel.cpp @@ -132,30 +132,10 @@ ProgressTreeModel::setupModelData() m_rootItem = new ProgressTreeRoot(); const Calamares::ViewManager* vm = Calamares::ViewManager::instance(); - foreach ( const Calamares::ViewStep* step, vm->prepareSteps() ) + foreach ( const Calamares::ViewStep* step, vm->viewSteps() ) { m_rootItem->appendChild( new ViewStepItem( step, m_rootItem ) ); } - - m_rootItem->appendChild( new ViewStepItem( - []() -> QString - { - return tr( "Install" ); - }, - [vm]() -> const Calamares::ViewStep* - { - return vm->installationStep(); - }, m_rootItem ) ); - - m_rootItem->appendChild( new ViewStepItem( - []() -> QString - { - return tr( "Finish" ); - }, - [vm]() -> const Calamares::ViewStep* - { - return vm->finishedStep(); - }, m_rootItem ) ); }