Mercurial > hg > svgui
diff layer/RegionLayer.cpp @ 1417:2487521e857b
Merge
author | Chris Cannam |
---|---|
date | Wed, 23 Jan 2019 14:44:16 +0000 |
parents | 89d124ac9bfa d057dcc827e7 |
children | 62e908518c71 |
line wrap: on
line diff
--- a/layer/RegionLayer.cpp Mon Jan 21 10:08:26 2019 +0000 +++ b/layer/RegionLayer.cpp Wed Jan 23 14:44:16 2019 +0000 @@ -46,7 +46,7 @@ RegionLayer::RegionLayer() : SingleColourLayer(), - m_model(0), + m_model(nullptr), m_editing(false), m_dragPointX(0), m_dragPointY(0), @@ -54,7 +54,7 @@ m_dragStartY(0), m_originalPoint(0, 0.0, 0, tr("New Region")), m_editingPoint(0, 0.0, 0, tr("New Region")), - m_editingCommand(0), + m_editingCommand(nullptr), m_verticalScale(EqualSpaced), m_colourMap(0), m_colourInverted(false), @@ -1200,7 +1200,7 @@ { if (!m_model || !m_editing) return; finish(m_editingCommand); - m_editingCommand = 0; + m_editingCommand = nullptr; m_editing = false; recalcSpacing(); @@ -1215,7 +1215,7 @@ if (m_editingCommand) { finish(m_editingCommand); - m_editingCommand = 0; + m_editingCommand = nullptr; } m_editing = true; @@ -1244,7 +1244,7 @@ m_editingCommand->deletePoint(m_editingPoint); finish(m_editingCommand); - m_editingCommand = 0; + m_editingCommand = nullptr; m_editing = false; recalcSpacing(); } @@ -1265,7 +1265,7 @@ if (m_editingCommand) { finish(m_editingCommand); - m_editingCommand = 0; + m_editingCommand = nullptr; } m_editing = true; @@ -1332,7 +1332,7 @@ finish(m_editingCommand); } - m_editingCommand = 0; + m_editingCommand = nullptr; m_editing = false; recalcSpacing(); }