[calamares] Minor clean-ups

main
Adriaan de Groot 5 years ago
parent 59ef307af2
commit c2fac3a717

@ -338,16 +338,14 @@ CalamaresApplication::initViewSteps()
m_mainwindow->show(); m_mainwindow->show();
} }
// ProgressTreeModel* m = new ProgressTreeModel( nullptr );
// ProgressTreeView::instance()->setModel( m );
cDebug() << "STARTUP: Window now visible and ProgressTreeView populated"; cDebug() << "STARTUP: Window now visible and ProgressTreeView populated";
const auto steps = Calamares::ViewManager::instance()->viewSteps(); const auto& steps = Calamares::ViewManager::instance()->viewSteps();
cDebug() << Logger::SubEntry << steps.count() << "view steps loaded."; cDebug() << Logger::SubEntry << steps.count() << "view steps loaded.";
// Tell the first view that it's been shown. // Tell the first view that it's been shown.
if ( steps.count() > 0 ) if ( steps.count() > 0 )
{ {
steps[ 0 ]->onActivate(); steps.first()->onActivate();
} }
} }

Loading…
Cancel
Save