From 443116d2682cd221c25201926e35d825170bdbbd Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 29 Oct 2004 11:24:47 +0000 Subject: fix --- diff --git a/kabc/plugins/qtopia/resourceqtopia.cpp b/kabc/plugins/qtopia/resourceqtopia.cpp index cf6b11a..79ddaea 100644 --- a/kabc/plugins/qtopia/resourceqtopia.cpp +++ b/kabc/plugins/qtopia/resourceqtopia.cpp @@ -163,7 +163,7 @@ bool ResourceQtopia::load() QDomDocument doc("mydocument" ); if ( !doc.setContent( &file ) ) { file.close(); - return true; + return false; } bool res; QDomElement docElem = doc.documentElement( ); diff --git a/kaddressbook/xxport/qtopia_xxport.cpp b/kaddressbook/xxport/qtopia_xxport.cpp index fc4abbb..e3457a1 100644 --- a/kaddressbook/xxport/qtopia_xxport.cpp +++ b/kaddressbook/xxport/qtopia_xxport.cpp @@ -73,7 +73,7 @@ bool QtopiaXXPort::exportContacts( const KABC::AddresseeList &list, const QStrin QString fn =KFileDialog::getSaveFileName( defaultFileName, i18n("Import xml file"), 0 ); if ( fn == "" ) return false; - + return _exportContacts( list, identifier, fn ); } -- cgit v0.9.0.2