fix unused
All checks were successful
eden-license / license-header (pull_request) Successful in 22s

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-10-01 22:07:00 +00:00 committed by crueter
parent ce00baf9a2
commit dcb07b961e

View file

@ -1776,12 +1776,12 @@ void GMainWindow::SetupPrepareForSleep() {
const auto dbus_logind_service = QStringLiteral("org.freedesktop.login1");
const auto dbus_logind_path = QStringLiteral("/org/freedesktop/login1");
const auto dbus_logind_manager_if = QStringLiteral("org.freedesktop.login1.Manager");
const auto dbus_logind_session_if = QStringLiteral("org.freedesktop.login1.Session");
//const auto dbus_logind_session_if = QStringLiteral("org.freedesktop.login1.Session");
#else
const auto dbus_logind_service = QStringLiteral("org.freedesktop.ConsoleKit");
const auto dbus_logind_path = QStringLiteral("/org/freedesktop/ConsoleKit/Manager");
const auto dbus_logind_manager_if = QStringLiteral("org.freedesktop.ConsoleKit.Manager");
const auto dbus_logind_session_if = QStringLiteral("org.freedesktop.ConsoleKit.Session");
//const auto dbus_logind_session_if = QStringLiteral("org.freedesktop.ConsoleKit.Session");
#endif
const bool success = bus.connect(
dbus_logind_service, dbus_logind_path,