Mercurial > hg > svgui
diff widgets/TextAbbrev.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/widgets/TextAbbrev.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/widgets/TextAbbrev.cpp Tue Jun 14 14:48:29 2011 +0100 @@ -261,9 +261,9 @@ } } -// std::cerr << "TextAbbrev::getPrefixLength: prefix length is " << candidate << std::endl; +// DEBUG << "TextAbbrev::getPrefixLength: prefix length is " << candidate << endl; // for (int i = 0; i < texts.size(); ++i) { -// std::cerr << texts[i].left(candidate).toStdString() << "|" << texts[i].right(texts[i].length() - candidate).toStdString() << std::endl; +// std::cerr << texts[i].left(candidate) << "|" << texts[i].right(texts[i].length() - candidate) << std::endl; // } return candidate;