comparison 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
comparison
equal deleted inserted replaced
615:156a120345ae 616:d632a1e87018
236 QModelIndex 236 QModelIndex
237 ModelMetadataModel::index(int row, int column, const QModelIndex &parent) const 237 ModelMetadataModel::index(int row, int column, const QModelIndex &parent) const
238 { 238 {
239 if (!parent.isValid()) { 239 if (!parent.isValid()) {
240 if (row >= m_models.size()) return QModelIndex(); 240 if (row >= m_models.size()) return QModelIndex();
241 return createIndex(row, column, 0); 241 return createIndex(row, column, (void *)0);
242 } 242 }
243 243
244 return QModelIndex(); 244 return QModelIndex();
245 } 245 }
246 246