diff widgets/LayerTree.cpp @ 616:d632a1e87018 qt5

Build fixes for Qt5
author Chris Cannam
date Mon, 11 Mar 2013 14:23:52 +0000
parents 4806715f7a19
children 1a0dfcbffaf1
line wrap: on
line diff
--- a/widgets/LayerTree.cpp	Fri Nov 16 17:14:12 2012 +0000
+++ b/widgets/LayerTree.cpp	Mon Mar 11 14:23:52 2013 +0000
@@ -238,7 +238,7 @@
 {
     if (!parent.isValid()) {
         if (row >= m_models.size()) return QModelIndex();
-	return createIndex(row, column, 0);
+	return createIndex(row, column, (void *)0);
     }
 
     return QModelIndex();