diff --git a/src/mumble/GlobalShortcut_xdp.cpp b/src/mumble/GlobalShortcut_xdp.cpp index 297502694a9..61790dfdb64 100644 --- a/src/mumble/GlobalShortcut_xdp.cpp +++ b/src/mumble/GlobalShortcut_xdp.cpp @@ -15,8 +15,8 @@ #include "globalshortcuts_portal_interface.h" #include "portalsrequest_interface.h" -Q_GLOBAL_STATIC_WITH_ARGS(OrgFreedesktopPortalGlobalShortcutsInterface, s_shortcutsInterface, (QLatin1String("org.freedesktop.portal.Desktop"), - QLatin1String("/org/freedesktop/portal/desktop"), +Q_GLOBAL_STATIC_WITH_ARGS(OrgFreedesktopPortalGlobalShortcutsInterface, s_shortcutsInterface, ("org.freedesktop.portal.Desktop", + "/org/freedesktop/portal/desktop", QDBusConnection::sessionBus())); bool GlobalShortcutXdp::isAvailable()