Commit 37c145e9 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.
parent 5ba32847
...@@ -222,7 +222,7 @@ void LogindIntegration::logindServiceRegistered() ...@@ -222,7 +222,7 @@ void LogindIntegration::logindServiceRegistered()
); );
m_bus.connect(m_sessionControllerService, m_bus.connect(m_sessionControllerService,
m_sessionPath, m_sessionControllerPath,
m_sessionControllerManagerInterface, m_sessionControllerManagerInterface,
QStringLiteral("PrepareForSleep"), QStringLiteral("PrepareForSleep"),
this, this,
Supports Markdown
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