[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/akonadi
From: Volker Krause <vkrause () kde ! org>
Date: 2010-12-20 15:35:24
Message-ID: 20101220153524.38AB7AC8AB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1208074 by vkrause:
disconnect from the correct object
M +2 -2 agentbase.cpp
M +1 -0 agentbase.h
--- trunk/KDE/kdepimlibs/akonadi/agentbase.cpp #1208073:1208074
@@ -124,7 +124,7 @@
if ( sAgentBase != 0 ) {
// not implementation, let's disconnect the signal to enable optimizations in \
Monitor
QObject::disconnect( sAgentBase->changeRecorder(), SIGNAL( itemLinked( const \
Akonadi::Item&, const Akonadi::Collection& ) ),
- sAgentBase, SLOT( itemLinked( const Akonadi::Item&, const \
Akonadi::Collection& ) ) ); + sAgentBase->d_ptr, SLOT( \
itemLinked( const Akonadi::Item&, const Akonadi::Collection& ) ) ); \
sAgentBase->d_ptr->changeProcessed(); }
}
@@ -136,7 +136,7 @@
if ( sAgentBase != 0 ) {
// not implementation, let's disconnect the signal to enable optimizations in \
Monitor
QObject::disconnect( sAgentBase->changeRecorder(), SIGNAL( itemUnlinked( const \
Akonadi::Item&, const Akonadi::Collection& ) ),
- sAgentBase, SLOT( itemUnlinked( const Akonadi::Item&, const \
Akonadi::Collection& ) ) ); + sAgentBase->d_ptr, SLOT( \
itemUnlinked( const Akonadi::Item&, const Akonadi::Collection& ) ) ); \
sAgentBase->d_ptr->changeProcessed(); }
}
--- trunk/KDE/kdepimlibs/akonadi/agentbase.h #1208073:1208074
@@ -600,6 +600,7 @@
//@cond PRIVATE
AgentBasePrivate *d_ptr;
explicit AgentBase( AgentBasePrivate* d, const QString &id );
+ friend class ObserverV2;
//@endcond
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic