comparison main/PreferencesDialog.cpp @ 2126:0b15f3b16776 fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:35:05 +0000
parents 47bbee02fa8f
children a94b289f0b93
comparison
equal deleted inserted replaced
2125:124de219669f 2126:0b15f3b16776
384 m_showHMS = (showHMS != 0); 384 m_showHMS = (showHMS != 0);
385 hms->setCheckState(m_showHMS ? Qt::Checked : Qt::Unchecked); 385 hms->setCheckState(m_showHMS ? Qt::Checked : Qt::Unchecked);
386 connect(hms, SIGNAL(stateChanged(int)), 386 connect(hms, SIGNAL(stateChanged(int)),
387 this, SLOT(showHMSChanged(int))); 387 this, SLOT(showHMSChanged(int)));
388 388
389 QFrame *frame = 0; 389 QFrame *frame = nullptr;
390 QGridLayout *subgrid = 0; 390 QGridLayout *subgrid = nullptr;
391 int row = 0; 391 int row = 0;
392 392
393 // Appearance tab 393 // Appearance tab
394 394
395 frame = new QFrame; 395 frame = new QFrame;