Mercurial > hg > svgui
diff widgets/ItemEditDialog.cpp @ 1408:c8a6fd3f9dff fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:54 +0000 |
parents | 2564d0865feb |
children | 0fa49a6ce64f |
line wrap: on
line diff
--- a/widgets/ItemEditDialog.cpp Mon Nov 26 13:52:57 2018 +0000 +++ b/widgets/ItemEditDialog.cpp Mon Nov 26 14:33:54 2018 +0000 @@ -35,21 +35,21 @@ m_defaultFrame(0), m_defaultDuration(0), m_defaultValue(0), - m_frameTimeSpinBox(0), - m_realTimeSecsSpinBox(0), - m_realTimeUSecsSpinBox(0), - m_frameDurationSpinBox(0), - m_realDurationSecsSpinBox(0), - m_realDurationUSecsSpinBox(0), - m_valueSpinBox(0), - m_textField(0) + m_frameTimeSpinBox(nullptr), + m_realTimeSecsSpinBox(nullptr), + m_realTimeUSecsSpinBox(nullptr), + m_frameDurationSpinBox(nullptr), + m_realDurationSecsSpinBox(nullptr), + m_realDurationUSecsSpinBox(nullptr), + m_valueSpinBox(nullptr), + m_textField(nullptr) { QGridLayout *grid = new QGridLayout; setLayout(grid); - QGroupBox *timeBox = 0; - QGroupBox *valueBox = 0; - QGridLayout *subgrid = 0; + QGroupBox *timeBox = nullptr; + QGroupBox *valueBox = nullptr; + QGridLayout *subgrid = nullptr; int row = 0, subrow = 0;