Clang: reduce warnings, nullptr, unused parameters

This commit is contained in:
Adriaan de Groot 2017-09-21 04:04:01 -04:00
parent 34761c4214
commit e3e519c06f
6 changed files with 14 additions and 14 deletions

View file

@ -347,7 +347,7 @@ ReplaceWidget::updateFromCurrentDevice( QComboBox* devicesComboBox )
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->partitionTreeView->setModel( model );