diff widgets/LayerTree.cpp @ 1408:c8a6fd3f9dff fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:33:54 +0000
parents a34a2a25907c
children 0769eaacc6bf
line wrap: on
line diff
--- a/widgets/LayerTree.cpp	Mon Nov 26 13:52:57 2018 +0000
+++ b/widgets/LayerTree.cpp	Mon Nov 26 14:33:54 2018 +0000
@@ -238,7 +238,7 @@
 {
     if (!parent.isValid()) {
         if (row >= (int)m_models.size()) return QModelIndex();
-        return createIndex(row, column, (void *)0);
+        return createIndex(row, column, (void *)nullptr);
     }
 
     return QModelIndex();