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.
This commit is contained in:
Vlad Zahorodnii 2021-02-24 22:11:06 +02:00
parent 5ba3284712
commit 37c145e94b

View file

@ -222,7 +222,7 @@ void LogindIntegration::logindServiceRegistered()
);
m_bus.connect(m_sessionControllerService,
m_sessionPath,
m_sessionControllerPath,
m_sessionControllerManagerInterface,
QStringLiteral("PrepareForSleep"),
this,