From kde-commits Sat May 10 12:41:41 2008 From: Allen Winter Date: Sat, 10 May 2008 12:41:41 +0000 To: kde-commits Subject: branches/KDE/3.5/kdepim/libkcal Message-Id: <1210423301.082956.710.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121042330730868 SVN commit 806191 by winterz: port from enterprise SVN commit 805701 by vkrause: Don't remove the observers in the assignment operator, this only makes sense in the copy ctor where this code was copied from. This fixes various issues when using the assignment operator, such as wrongly updated views and most notably the non-persistence of the changes. M +0 -4 incidencebase.cpp --- branches/KDE/3.5/kdepim/libkcal/incidencebase.cpp #806190:806191 @@ -59,10 +59,6 @@ mSyncStatus = i.mSyncStatus; mComments = i.mComments; - // The copied object is a new one, so it isn't observed by the observer - // of the original object. - mObservers.clear(); - mAttendees.setAutoDelete( true ); }