MCPcopy Create free account
hub / github.com/clementgallet/libTAS / slotStacktrace

Method slotStacktrace

src/program/ui/TimeTraceWindow.cpp:91–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void 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
104void TimeTraceWindow::slotStart()
105{

Callers

nothing calls this directly

Calls 2

getStacktraceMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected