mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 18:35:44 -05: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();
|
||||
if ( oldModel )
|
||||
disconnect( oldModel, 0, this, 0 );
|
||||
disconnect( oldModel, nullptr, this, nullptr );
|
||||
|
||||
PartitionModel* model = m_core->partitionModelForDevice( device );
|
||||
m_ui->partitionBarsView->setModel( model );
|
||||
|
|
Loading…
Add table
Reference in a new issue