• R/O
  • HTTP
  • SSH
  • HTTPS

kde-workspace: Commit

Katana workspace


Commit MetaInfo

Revision47486b2a882a10b9711a2c6c70f8111d0cf7dcd5 (tree)
Time2022-11-30 08:40:18
AuthorIvailo Monev <xakepa10@gmai...>
CommiterIvailo Monev

Log Message

plasma: use Solid::PowerManagement::StandbyState for standby

internally it is handled as Solid::PowerManagement::SuspendState tho so no
real functional change, it will be replaced with HybridSuspendState
eventually

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>

Change Summary

Incremental Difference

--- a/plasma/applets/kickoff/core/itemhandlers.cpp
+++ b/plasma/applets/kickoff/core/itemhandlers.cpp
@@ -167,8 +167,7 @@ void LeaveItemHandler::saveSession()
167167
168168 void LeaveItemHandler::standby()
169169 {
170- // FIXME: Use standby from KDE Power Management System's interface
171- suspendRAM();
170+ Solid::PowerManagement::requestSleep(Solid::PowerManagement::StandbyState, 0, 0);
172171 }
173172
174173 void LeaveItemHandler::suspendRAM()
Show on old repository browser