From 37c145e94b85911cc29b6efd932f60e90e19d7b1 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 24 Feb 2021 22:11:06 +0200 Subject: [PATCH] wayland: Fix PrepareForSleep dbus connection This is a typo. We must use the path of the manager rather than the session path, which is not initialized yet. --- src/logind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logind.cpp b/src/logind.cpp index 49639152b7..cf5266b68b 100644 --- a/src/logind.cpp +++ b/src/logind.cpp @@ -222,7 +222,7 @@ void LogindIntegration::logindServiceRegistered() ); m_bus.connect(m_sessionControllerService, - m_sessionPath, + m_sessionControllerPath, m_sessionControllerManagerInterface, QStringLiteral("PrepareForSleep"), this,