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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/libkcal
From:       Allen Winter <winter () kde ! org>
Date:       2008-05-10 12:41:41
Message-ID: 1210423301.082956.710.nullmailer () svn ! kde ! org
[Download RAW message or body]

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 );
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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