mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[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.
This commit is contained in:
parent
cccd4402d8
commit
7074829c24
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue