mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
Clang: reduce warnings, nullptr, unused parameters
This commit is contained in:
parent
34761c4214
commit
e3e519c06f
6 changed files with 14 additions and 14 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue