Summary: | pegasus mails can not be importet because of capital spelling | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | tolotos |
Component: | kmailcvt | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.6.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
tolotos
2004-07-24 20:52:11 UTC
CVS commit by dkukawka: changed filedetection to find e.g. *.pmm and *.PMM files BUG: 85884 M +4 -4 filter_pmail.cxx 1.35 --- kdepim/kmailcvt/filter_pmail.cxx #1.34:1.35 @@ -62,9 +62,9 @@ void FilterPMail::import(FilterInfo *inf info->addLog(i18n("Importing new mail files ('.cnm')...")); - processFiles("*.cnm", &FilterPMail::importNewMessage); + processFiles("*.[cC][nN][mM]", &FilterPMail::importNewMessage); info->addLog(i18n("Importing mail folders ('.pmm')...")); - processFiles("*.pmm", &FilterPMail::importMailFolder); + processFiles("*.[pP][mM][mM]", &FilterPMail::importMailFolder); info->addLog(i18n("Importing 'UNIX' mail folders ('.mbx')...")); - processFiles("*.mbx", &FilterPMail::importUnixMailFolder); + processFiles("*.[mM][bB][xX]", &FilterPMail::importUnixMailFolder); } @@ -73,5 +73,5 @@ void FilterPMail::processFiles(const QSt { QStringList files = dir.entryList(mask, QDir::Files, QDir::Name); - kdDebug() << "Mask is " << mask << " count is " << files.count() << endl; + //kdDebug() << "Mask is " << mask << " count is " << files.count() << endl; for ( QStringList::Iterator mailFile = files.begin(); mailFile != files.end(); ++mailFile ) { // Notify current file |