Mercurial > hg > svgui
diff widgets/PropertyStack.cpp @ 810:b68af2be4545 tonioni
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:42:25 +0100 |
parents | e4773943c9c1 |
children | 7792b7667f74 |
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp Mon Jun 16 12:50:27 2014 +0100 +++ b/widgets/PropertyStack.cpp Wed Jun 18 13:42:25 2014 +0100 @@ -96,7 +96,7 @@ } m_boxes.clear(); - for (size_t i = 0; i < m_client->getPropertyContainerCount(); ++i) { + for (int i = 0; i < m_client->getPropertyContainerCount(); ++i) { PropertyContainer *container = m_client->getPropertyContainer(i); QString name = container->getPropertyContainerName(); @@ -147,7 +147,7 @@ bool PropertyStack::containsContainer(PropertyContainer *pc) const { - for (size_t i = 0; i < m_client->getPropertyContainerCount(); ++i) { + for (int i = 0; i < m_client->getPropertyContainerCount(); ++i) { PropertyContainer *container = m_client->getPropertyContainer(i); if (pc == container) return true; }