[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/akonadi-ports/kdepim/kmail
From:       Laurent Montel <montel () kde ! org>
Date:       2010-01-14 10:58:20
Message-ID: 1263466700.785738.6762.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1074589 by mlaurent:

in agent manager shows only account which is resource


 M  +1 -1      kmagentmanager.cpp  


--- branches/work/akonadi-ports/kdepim/kmail/kmagentmanager.cpp #1074588:1074589
@@ -44,7 +44,7 @@
   Akonadi::AgentInstance::List lst = mAgentManager->instances();
   foreach ( const Akonadi::AgentInstance& type, lst )
   {
-    if ( type.type().mimeTypes().contains(  "message/rfc822" ) ) {
+    if ( type.type().mimeTypes().contains(  "message/rfc822" ) && \
type.type().capabilities().contains( "Resource" )) {  mListInstance << type;
       KMAgentInstance *agent = new KMAgentInstance( this, type );
       lstAgentInstance.insert( type.identifier(), agent );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic