summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxport/opie/opie_xxport.cpp
authorulf69 <ulf69>2004-07-20 21:28:10 (UTC)
committer ulf69 <ulf69>2004-07-20 21:28:10 (UTC)
commit6f2ccd235ef49d5606ecf4e540e8884f7a9b7ec4 (patch) (side-by-side diff)
tree8ce4d24be2dfd04c386665723530435b66701286 /kaddressbook/xxport/opie/opie_xxport.cpp
parentfba0c028ac0ce15d0f7473439e025c56f108145e (diff)
downloadkdepimpi-6f2ccd235ef49d5606ecf4e540e8884f7a9b7ec4.zip
kdepimpi-6f2ccd235ef49d5606ecf4e540e8884f7a9b7ec4.tar.gz
kdepimpi-6f2ccd235ef49d5606ecf4e540e8884f7a9b7ec4.tar.bz2
remove the export was successfull dialog if the user canceled the operation
Diffstat (limited to 'kaddressbook/xxport/opie/opie_xxport.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/xxport/opie/opie_xxport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/xxport/opie/opie_xxport.cpp b/kaddressbook/xxport/opie/opie_xxport.cpp
index db30d34..c9b0163 100644
--- a/kaddressbook/xxport/opie/opie_xxport.cpp
+++ b/kaddressbook/xxport/opie/opie_xxport.cpp
@@ -93,13 +93,13 @@ bool OpieXXPort::exportContacts( const KABC::AddresseeList &list, const QString
QString fileName = KFileDialog::getSaveFileName( name );
#else //KAB_EMBEDDED
QString fileName = KFileDialog::getSaveFileName( name, i18n("Save file"), parentWidget() );
#endif //KAB_EMBEDDED
if ( fileName.isEmpty() )
- return true;
+ return false;
OContactAccessBackend_XML* backend = new OContactAccessBackend_XML( "KA/Pi", fileName );
OContactAccess* access = new OContactAccess("KA/Pi", 0l, backend, false);
if ( !access ) {
qDebug("Unable to access file() %s", fileName.latin1());