| 64 | } |
| 65 | |
| 66 | void SessionChooserDialog::filterTextChanged() |
| 67 | { |
| 68 | m_view->selectionModel()->setCurrentIndex(m_model->index(0, 0), QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows); |
| 69 | bool enabled = m_view->model()->rowCount(QModelIndex())>0; |
| 70 | m_buttonBox->button(QDialogButtonBox::Ok)->setEnabled(enabled); |
| 71 | m_deleteButton->setVisible(false); |
| 72 | } |
| 73 | |
| 74 | void SessionChooserDialog::doubleClicked(const QModelIndex& index) |
| 75 | { |
nothing calls this directly
no test coverage detected