summaryrefslogtreecommitdiffabout
path: root/kaddressbook/xxport/vcard_xxport.cpp
Unidiff
Diffstat (limited to 'kaddressbook/xxport/vcard_xxport.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/xxport/vcard_xxport.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/kaddressbook/xxport/vcard_xxport.cpp b/kaddressbook/xxport/vcard_xxport.cpp
index c017f5b..54d0cbd 100644
--- a/kaddressbook/xxport/vcard_xxport.cpp
+++ b/kaddressbook/xxport/vcard_xxport.cpp
@@ -179,16 +179,20 @@ KABC::AddresseeList VCardXXPort::importContacts( const QString& ) const
179 if ( XXPortManager::importURL.isEmpty() ) 179 if ( XXPortManager::importURL.isEmpty() )
180 { 180 {
181 fileName = KFileDialog::getOpenFileName( QString::null, i18n("Select vCard to Import"), parentWidget() ); 181 fileName = KFileDialog::getOpenFileName( QString::null, i18n("Select vCard to Import"), parentWidget() );
182 if ( fileName.isEmpty() )
183 return addrList;
184
182 } 185 }
183 else 186 else
184 { 187 {
185//US url = XXPortManager::importURL; 188//US url = XXPortManager::importURL;
186 qDebug("VCardXXPort::importContacts Urls at the moment not supported"); 189 qDebug("VCardXXPort::importContacts Urls at the moment not supported");
187 }
188
189 if ( url.isEmpty() ) 190 if ( url.isEmpty() )
190 return addrList; 191 return addrList;
191 192
193 }
194
195
192 QFile file( fileName ); 196 QFile file( fileName );
193 197
194 file.open( IO_ReadOnly ); 198 file.open( IO_ReadOnly );