[partition] Initialising BootLoader model is atomic

- don't send a bunch of update signals, do only a single
   model-reset when the BootLoaderModel is (re-)initialised.
main
Adriaan de Groot 6 years ago
parent cccd4402d8
commit 7074829c24

@ -47,9 +47,15 @@ BootLoaderModel::~BootLoaderModel()
void
BootLoaderModel::init( const QList< Device* >& devices )
{
beginResetModel();
blockSignals( true );
m_devices = devices;
clear();
createMbrItems();
blockSignals( false );
endResetModel();
}
void

Loading…
Cancel
Save