Mercurial > hg > svgui
diff widgets/PropertyStack.cpp @ 946:36cddc3de023 alignment_view
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2015 09:19:52 +0100 |
parents | 8744bb5d9fd0 |
children | 66da6f009edd |
line wrap: on
line diff
--- a/widgets/PropertyStack.cpp Thu Jan 15 16:00:53 2015 +0000 +++ b/widgets/PropertyStack.cpp Mon Apr 20 09:19:52 2015 +0100 @@ -30,7 +30,7 @@ #include <iostream> -#define DEBUG_PROPERTY_STACK 1 +//#define DEBUG_PROPERTY_STACK 1 PropertyStack::PropertyStack(QWidget *parent, View *client) : QTabWidget(parent), @@ -172,7 +172,7 @@ // remain in the same order. So we must find this container in the // box list, not in the view. - for (size_t i = 0; i < m_boxes.size(); ++i) { + for (int i = 0; in_range_for(m_boxes, i); ++i) { PropertyContainer *container = m_boxes[i]->getContainer(); if (pc == container) { return i;