From 0bb9d0f9e7da80f0ae3b91d4ebbb7aab4d2b9df7 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 21 Feb 2003 16:52:49 +0000 Subject: -Remove old Todo classes they're deprecated and today I already using the new API -Guard against self assignment in OTodo -Add test apps for OPIM -Opiefied Event classes -Added TimeZone handling and pinning of TimeZones to OEvent -Adjust ORecur and the widget to better timezone behaviour --- (limited to 'libopie2/opiepim/otodo.cpp') diff --git a/libopie2/opiepim/otodo.cpp b/libopie2/opiepim/otodo.cpp index b4d4aa9..049359e 100644 --- a/libopie2/opiepim/otodo.cpp +++ b/libopie2/opiepim/otodo.cpp @@ -340,6 +340,8 @@ void OTodo::deref() { } OTodo &OTodo::operator=(const OTodo &item ) { + if ( *this == item ) return *this; + OPimRecord::operator=( item ); //qWarning("operator= ref "); item.data->ref(); -- cgit v0.9.0.2