Subject: [kdeplasma-addons] dataengines/microblog: return false as the source is NOT created on demand!
Git commit 2985ebc5c0fae9289dfff06b33d12fc090e051f6 by Aaron Seigo.
Committed on 19/01/2012 at 17:01.
Pushed by aseigo into branch 'master'.

return false as the source is NOT created on demand!

M +3 -3 dataengines/microblog/twitterengine.cpp

http://commits.kde.org/kdeplasma-addons/2985ebc5c0fae9289dfff06b33d12fc090e051f6

diff --git a/dataengines/microblog/twitterengine.cpp
b/dataengines/microblog/twitterengine.cpp
index 4cc34ec..361e555 100644
--- a/dataengines/microblog/twitterengine.cpp
+++ b/dataengines/microblog/twitterengine.cpp
@@ -47,8 +47,8 @@ bool TwitterEngine::sourceRequestEvent(const QString &name)
{
//kDebug() << name;
if (name.startsWith("UserImages:")) {
- // these are updated by the engine itself, not consumers
- return true;
+ // these are created by the engine itself, not consumers
+ return false;
}

if (!name.startsWith(timelinePrefix) &&
!name.startsWith(timelineWithFriendsPrefix)
@@ -114,7 +114,7 @@ bool TwitterEngine::updateSourceEvent(const QString &name)
QStringList account = who.split('@');
if (account.count() == 2){
serviceBaseUrl = account.at(1);
- }else{
+ } else {
serviceBaseUrl = "http://twitter.com/";;
}


(C)2011 mailinglist-archive.com