[kmobiletools] branches/extragear/kde3/pim/kmobiletools/kmobiletools/libkmobiletools
Marco Gulino
marco at kmobiletools.org
Sun Jun 17 21:37:42 CEST 2007
SVN commit 676818 by gulino:
Some fixes to CSV exporting.
M +2 -2 smslist.cpp
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/libkmobiletools/smslist.cpp #676817:676818
@@ -239,9 +239,9 @@
QString saveFile;
saveFile = KFileDialog::getSaveFileName (QDir::homeDirPath(), "*.csv", 0, i18n("Save file to disk"));
-
+ if(saveFile.isEmpty() ) return -1;
if (QFile::exists(saveFile)) {
- kdDebug() << "SMSList::saveToCSV(): FILE ALREADY EXISTS " << endl;
+ kdDebug() << "SMSList::saveToCSV(): File already exists " << endl;
int retval;
retval=KMessageBox::warningContinueCancel(NULL,
More information about the kmobiletools
mailing list