comparison 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
comparison
equal deleted inserted replaced
583:4c484636d5ec 586:1ae54a29e59e
259 break; 259 break;
260 } 260 }
261 } 261 }
262 } 262 }
263 263
264 // std::cerr << "TextAbbrev::getPrefixLength: prefix length is " << candidate << std::endl; 264 // DEBUG << "TextAbbrev::getPrefixLength: prefix length is " << candidate << endl;
265 // for (int i = 0; i < texts.size(); ++i) { 265 // for (int i = 0; i < texts.size(); ++i) {
266 // std::cerr << texts[i].left(candidate).toStdString() << "|" << texts[i].right(texts[i].length() - candidate).toStdString() << std::endl; 266 // std::cerr << texts[i].left(candidate) << "|" << texts[i].right(texts[i].length() - candidate) << std::endl;
267 // } 267 // }
268 268
269 return candidate; 269 return candidate;
270 } 270 }
271 271