Skip to content

kcmkrdpserver: Use QDBusMessage instead of QDBusInterface

Akseli Lahtinen requested to merge work/cherry-pick-b0975b63 into Plasma/6.1

QDBusInterface blocks the GUI from updating. QDBusMessage do not.

Thus, use QDBusMessage, then QDBusConnection with asyncCall to talk to DBus, hopefully avoiding any UI update blocking.

Possibly helps to fix

BUG:487543

(cherry picked from commit b0975b63)

4a8ee9c4 kcmkrdpserver: emit signal if server is running 552ec3e7 kcmkrdpserver: use QDBusMessage for toggling autoconnect adf5cacd kcmkrdpserver: toggle server with qdbusmessage 5e2ec6a8 kcmkrdpserver: use qdbusmessage for checkserverrunning 8e594861 Use static variables for dbus names 918ff95f Delete watcher when finished 6302ee42 Use u""_qs instead of qstringliteral for readability

Merge request reports