MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / showTask

Method showTask

src/plugins/reversedebug/taskwindow.cpp:562–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562void TaskWindow::showTask(unsigned int id)
563{
564 int sourceRow = d->taskModel->rowForId(id);
565 QModelIndex sourceIdx = d->taskModel->index(sourceRow, 0);
566 QModelIndex filterIdx = d->filter->mapFromSource(sourceIdx);
567 d->listview->setCurrentIndex(filterIdx);
568// popup(Core::IOutputPane::ModeSwitch);
569}
570
571void TaskWindow::openTask(unsigned int id)
572{

Callers

nothing calls this directly

Calls 4

rowForIdMethod · 0.80
mapFromSourceMethod · 0.80
indexMethod · 0.45
setCurrentIndexMethod · 0.45

Tested by

no test coverage detected