[partition] Warnings-- by using nullptr instead of 0

This commit is contained in:
Adriaan de Groot 2019-05-14 04:58:19 -04:00
parent 54108d2bab
commit 81715ba199

View file

@ -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 );