Mercurial > hg > svgui
diff widgets/TransformFinder.cpp @ 682:1a0dfcbffaf1
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 14:06:40 +0000 |
parents | 1fe7951a61e8 |
children | e4773943c9c1 |
line wrap: on
line diff
--- a/widgets/TransformFinder.cpp Tue Nov 26 11:16:45 2013 +0000 +++ b/widgets/TransformFinder.cpp Tue Nov 26 14:06:40 2013 +0000 @@ -169,7 +169,7 @@ void TransformFinder::searchTextChanged(const QString &text) { -// std::cerr << "text is " << text << std::endl; +// cerr << "text is " << text << endl; m_newSearchText = text; } @@ -187,7 +187,7 @@ TransformFactory::SearchResults results = TransformFactory::getInstance()->search(keywords); -// std::cerr << results.size() << " result(s)..." << std::endl; +// cerr << results.size() << " result(s)..." << endl; std::set<TextMatcher::Match> sorted; sorted.clear(); @@ -241,7 +241,7 @@ int i = m_upToDateCount; -// std::cerr << "sorted size = " << m_sortedResults.size() << std::endl; +// cerr << "sorted size = " << m_sortedResults.size() << endl; TransformDescription desc; TransformId tid = m_sortedResults[i].key; @@ -318,7 +318,7 @@ m_labels[i]->setFixedWidth(this->width() - 40); m_labels[i]->setUnselectedText(labelText); -// std::cerr << "selected text: " << selectedText << std::endl; +// cerr << "selected text: " << selectedText << endl; m_labels[i]->setSelectedText(selectedText); m_labels[i]->setSelected(m_selectedTransform == desc.identifier); @@ -350,8 +350,8 @@ } } } - std::cerr << "selectedLabelChanged: selected transform is now \"" - << m_selectedTransform << "\"" << std::endl; + cerr << "selectedLabelChanged: selected transform is now \"" + << m_selectedTransform << "\"" << endl; } void