Commit a4eede95 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.

(cherry picked from commit 37c145e9)
parent 8f5c77ee
......@@ -222,7 +222,7 @@ void LogindIntegration::logindServiceRegistered()
);
m_bus.connect(m_sessionControllerService,
m_sessionPath,
m_sessionControllerPath,
m_sessionControllerManagerInterface,
QStringLiteral("PrepareForSleep"),
this,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment