[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kitchensync/libkonnector2
From: Tobias Koenig <tokoe () kde ! org>
Date: 2005-03-11 18:18:26
Message-ID: 20050311181826.24340EED3 () office ! kde ! org
[Download RAW message or body]
CVS commit by tokoe:
Applyed patch by Volker Christian, which fixes some obviously bugs.
M +3 -3 idhelper.cpp 1.5
--- kdepim/kitchensync/libkonnector2/idhelper.cpp #1.4:1.5
@@ -106,5 +106,5 @@ void KonnectorUIDHelper::addId( const QS
}else{
// kdDebug(5201) << "Already inserted" << endl;
- Kontainer::ValueList kontainer = it.data();
+ Kontainer::ValueList &kontainer = it.data();
Kontainer kont( konnectorId, kdeId );
kontainer.remove( kont );
@@ -117,6 +117,6 @@ void KonnectorUIDHelper::removeId( const
QMap<QString, Kontainer::ValueList >::Iterator it;
it = m_ids.find( appName );
- if ( it== m_ids.end() ) {
- Kontainer::ValueList kontainer = it.data();
+ if ( it != m_ids.end() ) {
+ Kontainer::ValueList &kontainer = it.data();
Kontainer::ValueList::Iterator it;
for ( it = kontainer.begin(); it != kontainer.end(); ++it ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic