! called when the filter/search text was changend. */
| 708 | called when the filter/search text was changend. |
| 709 | */ |
| 710 | void ProjectExplorer::filterTextChanged(const QString& text) { |
| 711 | QModelIndex root = m_treeView->model()->index(0, 0); |
| 712 | filter(root, text); |
| 713 | } |
| 714 | |
| 715 | bool ProjectExplorer::filter(const QModelIndex& index, const QString& text) { |
| 716 | const auto* model = index.model(); |