author | zautrix <zautrix> | 2004-09-21 11:24:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-21 11:24:59 (UTC) |
commit | f66482cac98648a1e5ea21fddd55e6916f2a1c60 (patch) (side-by-side diff) | |
tree | c51d30ac1fcb67572654a7a4d2d845b57618f61c /kabc | |
parent | ba89a5d20eb054054d9cfae3723a4d62b9f62efd (diff) | |
download | kdepimpi-f66482cac98648a1e5ea21fddd55e6916f2a1c60.zip kdepimpi-f66482cac98648a1e5ea21fddd55e6916f2a1c60.tar.gz kdepimpi-f66482cac98648a1e5ea21fddd55e6916f2a1c60.tar.bz2 |
latest fixes
-rw-r--r-- | kabc/plugins/file/resourcefile.cpp | 1 | ||||
-rw-r--r-- | kabc/plugins/sharpdtm/sharpdtmconverter.cpp | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/kabc/plugins/file/resourcefile.cpp b/kabc/plugins/file/resourcefile.cpp index 6cd63fd..163f2b4 100644 --- a/kabc/plugins/file/resourcefile.cpp +++ b/kabc/plugins/file/resourcefile.cpp @@ -194,9 +194,8 @@ void ResourceFile::doClose() bool ResourceFile::load() { - qDebug("ResourceFile::loadfile %s ", mFileName.latin1()); QFile file( mFileName ); if ( !file.open( IO_ReadOnly ) ) { addressBook()->error( i18n( "Unable to open file '%1'." ).arg( mFileName ) ); return false; diff --git a/kabc/plugins/sharpdtm/sharpdtmconverter.cpp b/kabc/plugins/sharpdtm/sharpdtmconverter.cpp index d36df20..6418b54 100644 --- a/kabc/plugins/sharpdtm/sharpdtmconverter.cpp +++ b/kabc/plugins/sharpdtm/sharpdtmconverter.cpp @@ -311,9 +311,9 @@ bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, SlZDataBase* da // home const Address homeaddress = addr.address(Address::Home); if (!homeaddress.isEmpty()) { - qDebug("write home address "); + //qDebug("write home address "); database->writeField(ZdbAdrs::HomeStreet, homeaddress.street()); database->writeField(ZdbAdrs::HomeCity, homeaddress.locality()); database->writeField(ZdbAdrs::HomeState, homeaddress.region()); database->writeField(ZdbAdrs::HomeZip, homeaddress.postalCode()); @@ -339,9 +339,9 @@ bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, SlZDataBase* da // business const Address businessaddress = addr.address(Address::Work); if (!businessaddress.isEmpty()) { - qDebug("write business address "); + //qDebug("write business address "); database->writeField(ZdbAdrs::BusinessStreet, businessaddress.street()); database->writeField(ZdbAdrs::BusinessCity, businessaddress.locality()); database->writeField(ZdbAdrs::BusinessState, businessaddress.region()); database->writeField(ZdbAdrs::BusinessZip, businessaddress.postalCode()); @@ -428,9 +428,9 @@ bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, SlZDataBase* da } QArray<int> iar; if ( !cats.isEmpty() ) { QArray<int> iar = catDB->ids(cats); - qDebug("***cat count is %d ", iar.count()); + //qDebug("***cat count is %d ", iar.count()); database->updateCategories(contact, iar); } return true; |