author | zautrix <zautrix> | 2004-10-29 11:24:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-29 11:24:47 (UTC) |
commit | 443116d2682cd221c25201926e35d825170bdbbd (patch) (side-by-side diff) | |
tree | 86e8e5965b489cd3d537e9872ff106019476c559 | |
parent | 2d28a226645f56a96fe0a8252e0d7e7b2cc4df2e (diff) | |
download | kdepimpi-443116d2682cd221c25201926e35d825170bdbbd.zip kdepimpi-443116d2682cd221c25201926e35d825170bdbbd.tar.gz kdepimpi-443116d2682cd221c25201926e35d825170bdbbd.tar.bz2 |
fix
-rw-r--r-- | kabc/plugins/qtopia/resourceqtopia.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/xxport/qtopia_xxport.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ -162,9 +162,9 @@ bool ResourceQtopia::load() QDomDocument doc("mydocument" ); if ( !doc.setContent( &file ) ) { file.close(); - return true; + return false; } bool res; QDomElement docElem = doc.documentElement( ); QDomNode n = docElem.firstChild(); 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 @@ -72,9 +72,9 @@ 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 ); } KABC::AddresseeList QtopiaXXPort::importContacts( const QString &identifier ) const |