|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
|
|
|
|
|
#include "ProgressTreeModel.h"
|
|
|
|
|
|
|
|
|
|
#include "progresstree/CategoryItem.h"
|
|
|
|
|
#include "progresstree/TextTreeItem.h"
|
|
|
|
|
#include "progresstree/ViewStepItem.h"
|
|
|
|
|
#include "ViewManager.h"
|
|
|
|
|
|
|
|
|
@ -133,7 +133,7 @@ ProgressTreeModel::setupModelData()
|
|
|
|
|
m_rootItem = new ProgressTreeRoot();
|
|
|
|
|
const Calamares::ViewManager* vm = Calamares::ViewManager::instance();
|
|
|
|
|
|
|
|
|
|
CategoryItem* prepare = new CategoryItem( tr( "Prepare" ), m_rootItem );
|
|
|
|
|
TextTreeItem* prepare = new TextTreeItem( tr( "Prepare" ), m_rootItem );
|
|
|
|
|
m_rootItem->appendChild( prepare );
|
|
|
|
|
|
|
|
|
|
foreach ( const Calamares::ViewStep* step, vm->prepareSteps() )
|
|
|
|
@ -142,7 +142,7 @@ ProgressTreeModel::setupModelData()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
m_rootItem->appendChild( new ViewStepItem( vm->installationStep(), m_rootItem ) );
|
|
|
|
|
m_rootItem->appendChild( new CategoryItem( tr( "Finish" ), m_rootItem ) );
|
|
|
|
|
m_rootItem->appendChild( new TextTreeItem( tr( "Finish" ), m_rootItem ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|