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

main
Adriaan de Groot 6 years ago
parent 54108d2bab
commit 81715ba199

@ -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…
Cancel
Save