| 792 | } |
| 793 | |
| 794 | void ProjectExplorer::deselectIndex(const QModelIndex& index) { |
| 795 | if (m_project->isLoading()) |
| 796 | return; |
| 797 | |
| 798 | if (m_treeView->selectionModel()->isSelected(index)) { |
| 799 | m_changeSelectionFromView = true; |
| 800 | m_treeView->selectionModel()->select(index, QItemSelectionModel::Deselect | QItemSelectionModel::Rows); |
| 801 | } |
| 802 | } |
| 803 | |
| 804 | void ProjectExplorer::selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { |
| 805 | if (m_project->isLoading()) |
nothing calls this directly
no test coverage detected