From 2981b8f55f4a33860452f4571ef9f04781267489 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 03 Nov 2002 17:56:17 +0000 Subject: Oh OContact what a sucker ;) first of all UID generation belongs to OPimRecord and was removed from OContact then setUid now actually calls OPimRecord::setUid instead of Record::setUid This finally fixes the problem with wrong uids after beaming... At least locally on my machine --- (limited to 'libopie/pim/opimrecord.cpp') diff --git a/libopie/pim/opimrecord.cpp b/libopie/pim/opimrecord.cpp index 62dc353..21cf131 100644 --- a/libopie/pim/opimrecord.cpp +++ b/libopie/pim/opimrecord.cpp @@ -122,11 +122,9 @@ QString OPimRecord::crossToString()const { } /* if uid = 1 assign a new one */ void OPimRecord::setUid( int uid ) { -// qWarning("setting uid" ); if ( uid == 1) uid = uidGen().generate(); -// qWarning(" uid %d", uid); Qtopia::Record::setUid( uid ); }; Qtopia::UidGen &OPimRecord::uidGen() { -- cgit v0.9.0.2