Mercurial > hg > svgui
diff view/PaneStack.cpp @ 586:1ae54a29e59e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:48:29 +0100 |
parents | f4960f8ce798 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/view/PaneStack.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/view/PaneStack.cpp Tue Jun 14 14:48:29 2011 +0100 @@ -495,10 +495,10 @@ for (size_t i = 0; i < m_panes.size(); ++i) { if (!m_panes[i].propertyStack) continue; #ifdef DEBUG_PANE_STACK - std::cerr << "PaneStack::sizePropertyStacks: " << i << ": min " + DEBUG << "PaneStack::sizePropertyStacks: " << i << ": min " << m_panes[i].propertyStack->minimumSizeHint().width() << ", hint " << m_panes[i].propertyStack->sizeHint().width() << ", current " - << m_panes[i].propertyStack->width() << std::endl; + << m_panes[i].propertyStack->width() << endl; #endif if (m_panes[i].propertyStack->sizeHint().width() > maxMinWidth) { @@ -507,7 +507,7 @@ } #ifdef DEBUG_PANE_STACK - std::cerr << "PaneStack::sizePropertyStacks: max min width " << maxMinWidth << std::endl; + DEBUG << "PaneStack::sizePropertyStacks: max min width " << maxMinWidth << endl; #endif int setWidth = maxMinWidth;