From a3083042bb9c69193cc43105e6c9d045bd79e8b2 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Fri, 20 Aug 2004 19:53:52 +0000 Subject: merged bugfix from KDE Head: Don't KDirWatch for own changes --- (limited to 'kabc/plugins/sharpdtm/resourcesharpdtm.cpp') diff --git a/kabc/plugins/sharpdtm/resourcesharpdtm.cpp b/kabc/plugins/sharpdtm/resourcesharpdtm.cpp index b63df0c..8a795e9 100644 --- a/kabc/plugins/sharpdtm/resourcesharpdtm.cpp +++ b/kabc/plugins/sharpdtm/resourcesharpdtm.cpp @@ -197,6 +197,7 @@ bool ResourceSharpDTM::save( Ticket *ticket ) { qDebug("ResourceSharpDTM::save: %s", fileName().latin1()); + mDirWatch.stopScan(); KABC::AddressBook::Iterator it; bool res; @@ -230,6 +231,7 @@ bool ResourceSharpDTM::save( Ticket *ticket ) //US mAccess->save(); + mDirWatch.startScan(); delete ticket; unlock( fileName() ); -- cgit v0.9.0.2