| 89 | } |
| 90 | |
| 91 | QStringList StackTraceModel::fullTrace() const |
| 92 | { |
| 93 | QStringList bt; |
| 94 | bt.reserve(m_frames.size()); |
| 95 | for (const auto &frame : std::as_const(m_frames)) { |
| 96 | if (frame.location.isValid()) |
| 97 | bt.push_back(frame.name + QLatin1String(" (") + frame.location.displayString() + QLatin1Char(')')); |
| 98 | else |
| 99 | bt.push_back(frame.name); |
| 100 | } |
| 101 | |
| 102 | return bt; |
| 103 | } |
no test coverage detected