From kde-commits Mon Jun 25 17:45:25 2007 From: Laurent Montel Date: Mon, 25 Jun 2007 17:45:25 +0000 To: kde-commits Subject: KDE/kdepim/kresources/kolab/shared Message-Id: <1182793525.978869.28473.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=118279353210396 SVN commit 680239 by mlaurent: Minor M +6 -6 kmailconnectionadaptor.cpp --- trunk/KDE/kdepim/kresources/kolab/shared/kmailconnectionadaptor.cpp #680238:680239 @@ -48,10 +48,10 @@ typedef QMap ByteArrayStringMap; Q_DECLARE_METATYPE(ByteArrayStringMap) -Q_DECLARE_METATYPE(KMail::SubResource ) -Q_DECLARE_METATYPE(QListKmailSubResource ) +Q_DECLARE_METATYPE(KMail::SubResource) +Q_DECLARE_METATYPE(QListKmailSubResource) Q_DECLARE_METATYPE(Quint32StringMap) -Q_DECLARE_METATYPE(KMail::StorageFormat ) +Q_DECLARE_METATYPE(KMail::StorageFormat) const QDBusArgument &operator<<(QDBusArgument &arg, const KMail::SubResource &subResource) { @@ -276,7 +276,7 @@ registerTypes(); QDBusReply r = mKmailGroupwareInterface->call( "incidencesKolab", mimetype, resource, startIndex, nbMessages ); if (r.isValid()) { - lst = r; + lst = r.value(); } return (mKmailGroupwareInterface->lastError().type()==QDBusError::NoError); } @@ -358,12 +358,12 @@ void KMailConnectionAdaptor::dbusServiceOwnerChanged(const QString & service, const QString & oldOwner, const QString & newOwner) { - if (mKmailGroupwareInterface && mKmailGroupwareInterface->service()==service) + if (mKmailGroupwareInterface && mKmailGroupwareInterface->service()==service) { // Delete the stub so that the next time we need to talk to kmail, // we'll know that we need to start a new one. delete mKmailGroupwareInterface; - mKmailGroupwareInterface = 0; + mKmailGroupwareInterface = 0; } }