diff options
Diffstat (limited to 'kmailcvt/filter_mbox.cxx')
-rw-r--r-- | kmailcvt/filter_mbox.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmailcvt/filter_mbox.cxx b/kmailcvt/filter_mbox.cxx index 61f313391..0a7b08ff1 100644 --- a/kmailcvt/filter_mbox.cxx +++ b/kmailcvt/filter_mbox.cxx @@ -45,7 +45,7 @@ void FilterMBox::import(FilterInfo *info) int overall_status = 0; bool first_msg = true; - TQStringList filenames = KFileDialog::getOpenFileNames( TQDir::homeDirPath(), "*|" + i18n("mbox Files (*)"), info->parent() ); + TQStringList filenames = KFileDialog::getOpenFileNames( TQDir::homeDirPath(), "*|" + i18n("mbox Files (*)"), info->tqparent() ); info->setOverall(0); for ( TQStringList::Iterator filename = filenames.begin(); filename != filenames.end(); ++filename, ++currentFile) { @@ -91,14 +91,14 @@ void FilterMBox::import(FilterInfo *info) while ( ! mbox.atEnd() && (l = mbox.readLine(input.data(),MAX_LINE)) && ((seperate = input.data()).left(5) != "From ")) { tmp.file()->writeBlock( input, l ); - if ((seperate = input.data()).left(10) == "X-Status: ") { + if ((seperate = input.data()).left(10) == "X-tqStatus: ") { x_status_flag = seperate; - x_status_flag.remove("X-Status: "); + x_status_flag.remove("X-tqStatus: "); x_status_flag = x_status_flag.stripWhiteSpace(); // qDebug("x_status_flag: %s", x_status_flag.latin1() ); } - // workaround to fix hang if a corrupted mbox tqcontains some + // workaround to fix hang if a corrupted mbox contains some // binary data, for more see bug #106796 if (mbox.at() == filepos) mbox.at(mbox.size()); |