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

Method selectFirstRow

src/plugins/core/locator/popupwidget.cpp:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void PopupWidget::selectFirstRow()
118{
119 if (model && (model->rowCount(QModelIndex()) > 0))
120 tree->setCurrentIndex(model->index(0, 0));
121}
122
123void PopupWidget::previous()
124{

Callers 1

initConnectMethod · 0.45

Calls 4

QModelIndexClass · 0.50
rowCountMethod · 0.45
setCurrentIndexMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected