Diffstat (limited to 'kaddressbook/xxport/csv_xxport.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/xxport/csv_xxport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/xxport/csv_xxport.cpp b/kaddressbook/xxport/csv_xxport.cpp index caee66d..d4d5475 100644 --- a/kaddressbook/xxport/csv_xxport.cpp +++ b/kaddressbook/xxport/csv_xxport.cpp | |||
@@ -117,13 +117,13 @@ bool CSVXXPort::exportContacts( const KABC::AddresseeList &list, const QString& | |||
117 | 117 | ||
118 | #else //KAB_EMBEDDED | 118 | #else //KAB_EMBEDDED |
119 | 119 | ||
120 | QString fileName = KFileDialog::getSaveFileName( "addressbook.csv", i18n("Save file"), parentWidget() ); | 120 | QString fileName = KFileDialog::getSaveFileName( "addressbook.csv", i18n("Save file"), parentWidget() ); |
121 | 121 | ||
122 | if ( fileName.isEmpty() ) | 122 | if ( fileName.isEmpty() ) |
123 | return true; | 123 | return false; |
124 | 124 | ||
125 | QFile file( fileName ); | 125 | QFile file( fileName ); |
126 | if ( !file.open( IO_WriteOnly ) ) { | 126 | if ( !file.open( IO_WriteOnly ) ) { |
127 | QString txt = i18n( "<qt>Unable to open file <b>%1</b>.</qt>" ); | 127 | QString txt = i18n( "<qt>Unable to open file <b>%1</b>.</qt>" ); |
128 | KMessageBox::error( parentWidget(), txt.arg( fileName ) ); | 128 | KMessageBox::error( parentWidget(), txt.arg( fileName ) ); |
129 | return false; | 129 | return false; |