https://bugs.kde.org/show_bug.cgi?id=427777

--- Comment #5 from Wolfgang Bauer <wba...@tmo.at> ---
Maybe something like this would be necessary to get the "CanMultiSession"
property as well?
(this is from KDisplayManager::SystemdSeat,
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libkworkspace/kdisplaymanager.cpp#L150
)

    /* HACK to be able to extract a(so) type from QDBus, property doesn't do
the trick */
    QList<NamedDBusObjectPath> getSessions() {
        QDBusMessage message = QDBusMessage::createMethodCall(service(),
path(), DBUS_PROPERTIES_IFACE, DBUS_PROPERTIES_GET);
        message <<  interface() << SYSTEMD_SESSIONS_PROPERTY;
        QDBusMessage reply = QDBusConnection::systemBus().call(message);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to