[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/network/telepathy-accounts-kcm/src
From: George Goldberg <grundleborg () googlemail ! com>
Date: 2009-08-03 13:19:49
Message-ID: 1249305589.351811.19199.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1006319 by gberg:
Get accounts ready with all features (I reckon we need all the existing ones at the moment).
M +7 -4 account-item.cpp
--- trunk/playground/network/telepathy-accounts-kcm/src/account-item.cpp #1006318:1006319
@@ -54,12 +54,15 @@
// We should look to see if the "account" instance we are passed is ready
// yet. If not, we should get it ready now.
- // FIXME: What features should we check are ready?
- if (m_account->isReady()) {
+ Tp::Features features;
+ features << Tp::Account::FeatureCore
+ << Tp::Account::FeatureAvatar
+ << Tp::Account::FeatureProtocolInfo;
+
+ if (m_account->isReady(features)) {
QTimer::singleShot(0, this, SIGNAL(ready()));
} else {
- // FIXME: What features should we get ready with?
- connect(m_account->becomeReady(),
+ connect(m_account->becomeReady(features),
SIGNAL(finished(Tp::PendingOperation*)),
SLOT(onAccountReady(Tp::PendingOperation*)));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic