Commit 2bcc913a authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Use QDBusServiceWatcher in QDBusAbstractInterface to track the owner


Instead of connecting to the "NameOwnerChanged" signal. This has better
performance, is simpler to implement and is future-proof: when we switch
to kdbus, there won't be a "NameOwnerChanged" signal to connect to. On
the drawback side, this will use slightly more memory.

Change-Id: I5801b8027949f041309567a493000fe7de9bf227
Reviewed-by: default avatarAlex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: default avatarAlbert Astals Cid <aacid@kde.org>
parent 2e12f6e6
No related merge requests found
Showing with 19 additions and 28 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment