Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
117
void PopupWidget::selectFirstRow()
118
{
119
if (model && (model->rowCount(QModelIndex()) > 0))
120
tree->setCurrentIndex(model->index(0, 0));
121
}
122
123
void PopupWidget::previous()
124
{
Callers
1
initConnect
Method · 0.45
Calls
4
QModelIndex
Class · 0.50
rowCount
Method · 0.45
setCurrentIndex
Method · 0.45
index
Method · 0.45
Tested by
no test coverage detected