Changeset View
Changeset View
Standalone View
Standalone View
daemon/actions/bundled/handlebuttonevents.cpp
Context not available. | |||||
186 | bool HandleButtonEvents::loadAction(const KConfigGroup& config) | 186 | bool HandleButtonEvents::loadAction(const KConfigGroup& config) | ||
---|---|---|---|---|---|
187 | { | 187 | { | ||
188 | // Read configs | 188 | // Read configs | ||
189 | m_suspendThenHibernateEnabled = config.readEntry<bool>("suspendThenHibernate", false); | ||||
189 | m_lidAction = config.readEntry<uint>("lidAction", 0); | 190 | m_lidAction = config.readEntry<uint>("lidAction", 0); | ||
190 | m_triggerLidActionWhenExternalMonitorPresent = config.readEntry<bool>("triggerLidActionWhenExternalMonitorPresent", false); | 191 | m_triggerLidActionWhenExternalMonitorPresent = config.readEntry<bool>("triggerLidActionWhenExternalMonitorPresent", false); | ||
191 | m_powerButtonAction = config.readEntry<uint>("powerButtonAction", 0); | 192 | m_powerButtonAction = config.readEntry<uint>("powerButtonAction", 0); | ||
Context not available. |