| 124 | } |
| 125 | |
| 126 | void SymbolViewPrivate::select(const QModelIndex &index) |
| 127 | { |
| 128 | if (!index.isValid()) |
| 129 | return; |
| 130 | |
| 131 | view->setCurrentIndex(index); |
| 132 | view->scrollTo(index, QTreeView::PositionAtCenter); |
| 133 | } |
| 134 | |
| 135 | SymbolView::SymbolView(ClickMode mode, QWidget *parent) |
| 136 | : DFrame(parent), |
no test coverage detected