mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[calamares] Minor clean-ups
This commit is contained in:
parent
59ef307af2
commit
c2fac3a717
1 changed files with 2 additions and 4 deletions
|
@ -338,16 +338,14 @@ CalamaresApplication::initViewSteps()
|
|||
m_mainwindow->show();
|
||||
}
|
||||
|
||||
// ProgressTreeModel* m = new ProgressTreeModel( nullptr );
|
||||
// ProgressTreeView::instance()->setModel( m );
|
||||
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.";
|
||||
// Tell the first view that it's been shown.
|
||||
if ( steps.count() > 0 )
|
||||
{
|
||||
steps[ 0 ]->onActivate();
|
||||
steps.first()->onActivate();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue