Move Osprober to PCM and add Osprober roles to PartitionModel.

This commit is contained in:
Teo Mrnjavac 2015-12-15 14:00:34 +01:00
parent 7b66514bf5
commit 0224811bf6
9 changed files with 63 additions and 23 deletions

View file

@ -74,13 +74,11 @@ PartitionViewStep::PartitionViewStep( QObject* parent )
void
PartitionViewStep::continueLoading()
{
OsproberEntryList osproberEntries = PartUtils::runOsprober( m_core );
Q_ASSERT( !m_choicePage );
m_choicePage = new ChoicePage();
m_choicePage->init( m_core, osproberEntries );
m_alongsidePage->init( m_core, osproberEntries );
m_choicePage->init( m_core );
m_alongsidePage->init( m_core );
m_widget->addWidget( m_choicePage );
m_widget->addWidget( m_manualPartitionPage );