| 72 | } |
| 73 | |
| 74 | void SessionChooserDialog::doubleClicked(const QModelIndex& index) |
| 75 | { |
| 76 | if(m_model->flags(index) & Qt::ItemIsEnabled) |
| 77 | accept(); |
| 78 | } |
| 79 | |
| 80 | void SessionChooserDialog::updateState() { |
| 81 | // Sometimes locking may take some time, so we stop the timer, to prevent an 'avalanche' of events |