mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
[partition] Warnings-- by using nullptr instead of 0
This commit is contained in:
parent
54108d2bab
commit
81715ba199
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ PartitionPage::updateFromCurrentDevice()
|
||||||
|
|
||||||
QAbstractItemModel* oldModel = m_ui->partitionTreeView->model();
|
QAbstractItemModel* oldModel = m_ui->partitionTreeView->model();
|
||||||
if ( oldModel )
|
if ( oldModel )
|
||||||
disconnect( oldModel, 0, this, 0 );
|
disconnect( oldModel, nullptr, this, nullptr );
|
||||||
|
|
||||||
PartitionModel* model = m_core->partitionModelForDevice( device );
|
PartitionModel* model = m_core->partitionModelForDevice( device );
|
||||||
m_ui->partitionBarsView->setModel( model );
|
m_ui->partitionBarsView->setModel( model );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue