diff -r edc716c1d8e1 -r f895379d7fab src/editmodes/abstractEditMode.cpp --- a/src/editmodes/abstractEditMode.cpp Sun Apr 12 23:02:26 2015 +0300 +++ b/src/editmodes/abstractEditMode.cpp Tue Jul 07 21:35:20 2015 +0300 @@ -100,7 +100,7 @@ { // Find the closest vertex to our cursor double minimumDistance = 1024.0; - const Vertex* closest = null; + const Vertex* closest = nullptr; Vertex cursorPosition = renderer()->coordconv2_3 (data.ev->pos(), false); QPoint cursorPosition2D (data.ev->pos()); const Axis relZ = renderer()->getRelativeZ(); @@ -142,7 +142,7 @@ } } - if (closest != null) + if (closest != nullptr) addDrawnVertex (*closest); return true;