[calamares] Apply coding style

This commit is contained in:
Adriaan de Groot 2019-08-13 20:51:46 +02:00
parent f31ff8b9ea
commit 27c3a5a11d
2 changed files with 6 additions and 7 deletions

View File

@ -14,4 +14,4 @@
#cmakedefine CALAMARES_TRANSLATION_LANGUAGES "${CALAMARES_TRANSLATION_LANGUAGES}" #cmakedefine CALAMARES_TRANSLATION_LANGUAGES "${CALAMARES_TRANSLATION_LANGUAGES}"
#endif // CALAMARES_VERSION_H #endif // CALAMARES_VERSION_H

View File

@ -76,10 +76,9 @@ ProgressTreeView::setModel( QAbstractItemModel* model )
QTreeView::setModel( model ); QTreeView::setModel( model );
expandAll(); expandAll();
connect( connect( Calamares::ViewManager::instance(),
Calamares::ViewManager::instance(), &Calamares::ViewManager::currentStepChanged,
&Calamares::ViewManager::currentStepChanged, this,
this, [this]() { viewport()->update(); },
[this]() { viewport()->update(); }, Qt::UniqueConnection );
Qt::UniqueConnection );
} }