| 89 | } |
| 90 | |
| 91 | void TimeTraceWindow::slotStacktrace(const QItemSelection &selected, const QItemSelection &deselected) |
| 92 | { |
| 93 | const QModelIndexList indexes = selected.indexes(); |
| 94 | |
| 95 | /* If no row was selected, return */ |
| 96 | if (indexes.count() == 0) |
| 97 | return; |
| 98 | |
| 99 | const QModelIndex sourceIndex = proxyModel->mapToSource(indexes[0]); |
| 100 | const QString backtrace = QString(timeTraceModel->getStacktrace(sourceIndex.row()).c_str()); |
| 101 | stackTraceText->setPlainText(backtrace); |
| 102 | } |
| 103 | |
| 104 | void TimeTraceWindow::slotStart() |
| 105 | { |
nothing calls this directly
no test coverage detected