Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
1407:05d614f6e46d | 1408:c8a6fd3f9dff |
---|---|
33 QDialog(parent), | 33 QDialog(parent), |
34 m_sampleRate(sampleRate), | 34 m_sampleRate(sampleRate), |
35 m_defaultFrame(0), | 35 m_defaultFrame(0), |
36 m_defaultDuration(0), | 36 m_defaultDuration(0), |
37 m_defaultValue(0), | 37 m_defaultValue(0), |
38 m_frameTimeSpinBox(0), | 38 m_frameTimeSpinBox(nullptr), |
39 m_realTimeSecsSpinBox(0), | 39 m_realTimeSecsSpinBox(nullptr), |
40 m_realTimeUSecsSpinBox(0), | 40 m_realTimeUSecsSpinBox(nullptr), |
41 m_frameDurationSpinBox(0), | 41 m_frameDurationSpinBox(nullptr), |
42 m_realDurationSecsSpinBox(0), | 42 m_realDurationSecsSpinBox(nullptr), |
43 m_realDurationUSecsSpinBox(0), | 43 m_realDurationUSecsSpinBox(nullptr), |
44 m_valueSpinBox(0), | 44 m_valueSpinBox(nullptr), |
45 m_textField(0) | 45 m_textField(nullptr) |
46 { | 46 { |
47 QGridLayout *grid = new QGridLayout; | 47 QGridLayout *grid = new QGridLayout; |
48 setLayout(grid); | 48 setLayout(grid); |
49 | 49 |
50 QGroupBox *timeBox = 0; | 50 QGroupBox *timeBox = nullptr; |
51 QGroupBox *valueBox = 0; | 51 QGroupBox *valueBox = nullptr; |
52 QGridLayout *subgrid = 0; | 52 QGridLayout *subgrid = nullptr; |
53 | 53 |
54 int row = 0, subrow = 0; | 54 int row = 0, subrow = 0; |
55 | 55 |
56 int singleStep = RealTime::frame2RealTime(2, sampleRate).usec() - 1; | 56 int singleStep = RealTime::frame2RealTime(2, sampleRate).usec() - 1; |
57 | 57 |