Apply 1 suggestion(s) to 1 file(s)

wilder-5.25
David Edmundson 4 years ago committed by Laurent Montel
parent 79bc0f889d
commit 9d95651752
  1. 2
      libkworkspace/sessionmanagementbackend.cpp

@ -216,7 +216,7 @@ ConsoleKitSessionBackend::ConsoleKitSessionBackend()
m_canSuspend = m_upower->canSuspend();
m_canHibernate = m_upower->canHibernate();
connect(m_upower, &OrgFreedesktopUPowerInterface::Sleeping, this, &SessionBackend::aboutToSuspend);
connect(m_upower, &OrgFreedesktopUPowerInterface::NotifySleep, this, &SessionBackend::aboutToSuspend);
connect(m_upower, &OrgFreedesktopUPowerInterface::Resuming, this, &SessionBackend::resumingFromSuspend);
m_state = SessionManagement::State::Ready;

Loading…
Cancel
Save