[Bug 310826] Amarok startup hangs for 5 seconds in KSystemTimeZonesPrivate::instance() - race condition with Telepathy Integration kded4 Module

Alex Merry kde at randomguy3.me.uk
Fri Nov 30 10:39:58 GMT 2012


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

--- Comment #9 from Alex Merry <kde at randomguy3.me.uk> ---
The way I dealt with registeredBusNames being synchronous in the Plasma mpris2
dataengine was to manually construct a call to it:

    QDBusPendingCall async =
QDBusConnection::sessionBus().interface()->asyncCall("ListNames");
    QDBusPendingCallWatcher *callWatcher = new QDBusPendingCallWatcher(async,
this);
    connect(callWatcher, SIGNAL(finished(QDBusPendingCallWatcher*)),
            this,       
SLOT(serviceNameFetchFinished(QDBusPendingCallWatcher*)));

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kde-telepathy-bugs mailing list