SVN commit 936455 by gberg: Fix presence dataengine to compile against latest telepathy-qt4 bindings. M +3 -4 presence.cpp --- trunk/playground/base/plasma/dataengines/presence/presence.cpp #936454:936455 @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -211,12 +212,10 @@ if(isOperationError(operation)) return; - Telepathy::Client::PendingReadyAccount *pa = dynamic_cast(operation); - if(!pa) + Telepathy::Client::Account *account = qobject_cast(operation->parent()); + if(!account) return; - Telepathy::Client::Account *account = pa->account(); - QString source; source = account->uniqueIdentifier(); Telepathy::SimplePresence sp = account->currentPresence();