-rw-r--r-- | libopie/pim/ocontactaccessbackend_vcard.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libopie/pim/ocontactaccessbackend_vcard.cpp b/libopie/pim/ocontactaccessbackend_vcard.cpp index ca9e410..1dc6b48 100644 --- a/libopie/pim/ocontactaccessbackend_vcard.cpp +++ b/libopie/pim/ocontactaccessbackend_vcard.cpp | |||
@@ -19,2 +19,5 @@ | |||
19 | * $Log$ | 19 | * $Log$ |
20 | * Revision 1.6 2003/01/13 15:49:31 eilers | ||
21 | * Fixing crash when businesscard.vcf is missing.. | ||
22 | * | ||
20 | * Revision 1.5 2002/12/07 13:26:22 eilers | 23 | * Revision 1.5 2002/12/07 13:26:22 eilers |
@@ -57,2 +60,4 @@ bool OContactAccessBackend_VCard::load () | |||
57 | VObject* obj = 0l; | 60 | VObject* obj = 0l; |
61 | |||
62 | if ( QFile( m_file ).exists() ){ | ||
58 | obj = Parse_MIME_FromFileName( QFile::encodeName(m_file).data() ); | 63 | obj = Parse_MIME_FromFileName( QFile::encodeName(m_file).data() ); |
@@ -60,2 +65,6 @@ bool OContactAccessBackend_VCard::load () | |||
60 | return false; | 65 | return false; |
66 | }else{ | ||
67 | qWarning("File \"%s\" not found !", m_file.latin1() ); | ||
68 | return false; | ||
69 | } | ||
61 | 70 | ||