Mercurial > hg > svgui
comparison widgets/LayerTree.cpp @ 922:26da827e8fb5 tonioni
Merge from cxx11 branch
author | Chris Cannam |
---|---|
date | Mon, 23 Mar 2015 11:26:28 +0000 |
parents | 4a578a360011 |
children | a34a2a25907c |
comparison
equal
deleted
inserted
replaced
921:4968bbaf1ed8 | 922:26da827e8fb5 |
---|---|
251 } | 251 } |
252 | 252 |
253 int | 253 int |
254 ModelMetadataModel::rowCount(const QModelIndex &parent) const | 254 ModelMetadataModel::rowCount(const QModelIndex &parent) const |
255 { | 255 { |
256 if (!parent.isValid()) return m_models.size(); | 256 if (!parent.isValid()) return int(m_models.size()); |
257 return 0; | 257 return 0; |
258 } | 258 } |
259 | 259 |
260 int | 260 int |
261 ModelMetadataModel::columnCount(const QModelIndex &) const | 261 ModelMetadataModel::columnCount(const QModelIndex &) const |