svn path=/trunk/KDE/kdebase/apps/; revision=821216
QItemSelectionModel* selModel = m_view->selectionModel();
if (selected) {
selModel->select(index, QItemSelectionModel::Select);
QItemSelectionModel* selModel = m_view->selectionModel();
if (selected) {
selModel->select(index, QItemSelectionModel::Select);
- selModel->setCurrentIndex(index, QItemSelectionModel::Select);
} else {
selModel->select(index, QItemSelectionModel::Deselect);
}
} else {
selModel->select(index, QItemSelectionModel::Deselect);
}
+ selModel->setCurrentIndex(index, QItemSelectionModel::Current);