Changeset View
Changeset View
Standalone View
Standalone View
src/parser/backtraceparser.cpp
Show First 20 Lines • Show All 399 Lines • ▼ Show 20 Line(s) | 301 | { | |||
---|---|---|---|---|---|
400 | 400 | | |||
401 | qCDebug(DRKONQI_PARSER_LOG) << "Rating:" << rating << "out of" << bestPossibleRating << "Usefulness:" | 401 | qCDebug(DRKONQI_PARSER_LOG) << "Rating:" << rating << "out of" << bestPossibleRating << "Usefulness:" | ||
402 | << staticMetaObject.enumerator(staticMetaObject.indexOfEnumerator("Usefulness")).valueToKey(d->m_usefulness); | 402 | << staticMetaObject.enumerator(staticMetaObject.indexOfEnumerator("Usefulness")).valueToKey(d->m_usefulness); | ||
403 | qCDebug(DRKONQI_PARSER_LOG) << "90%:" << (bestPossibleRating*0.90) << "70%:" << (bestPossibleRating*0.70) | 403 | qCDebug(DRKONQI_PARSER_LOG) << "90%:" << (bestPossibleRating*0.90) << "70%:" << (bestPossibleRating*0.70) | ||
404 | << "40%:" << (bestPossibleRating*0.40); | 404 | << "40%:" << (bestPossibleRating*0.40); | ||
405 | qCDebug(DRKONQI_PARSER_LOG) << "Have seen stack base:" << haveSeenStackBase << "Lines counted:" << counter; | 405 | qCDebug(DRKONQI_PARSER_LOG) << "Have seen stack base:" << haveSeenStackBase << "Lines counted:" << counter; | ||
406 | } | 406 | } | ||
407 | 407 | | |||
408 | 408 | QString BacktraceParser::informationLines() const | |||
409 | { | ||||
410 | Q_D(const BacktraceParser); | ||||
411 | QString ret = d->m_infoLines.join(QLatin1Char('\n')); | ||||
412 | if (!ret.endsWith(QLatin1Char('\n'))) | ||||
413 | ret += QLatin1Char('\n'); | ||||
414 | return ret; | ||||
415 | } |