diff widgets/LayerTree.cpp @ 1414:fa986b91d77f

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:24:51 +0000
parents c8a6fd3f9dff
children 0769eaacc6bf
line wrap: on
line diff
--- a/widgets/LayerTree.cpp	Wed Jan 09 14:41:52 2019 +0000
+++ b/widgets/LayerTree.cpp	Wed Jan 09 15:24:51 2019 +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();