MCPcopy Create free account
hub / github.com/KDE/kdevelop / doubleClicked

Method doubleClicked

kdevplatform/shell/sessionchooserdialog.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

flagsMethod · 0.45

Tested by

no test coverage detected