CVS commit by kloecker: Only change the GUI label but not the value stored in the filter configuration because this would break existing filters. Thanks, Marc. M +2 -2 kmsearchpattern.cpp 1.26 M +1 -1 kmsearchpattern.h 1.12 M +1 -1 kmsearchpatternedit.cpp 1.40 --- kdepim/kmail/kmsearchpattern.h #1.11:1.12 @@ -107,5 +107,5 @@ public: @li : Try to match against any header field. @li : Try to match against both To: and Cc: header fields. - @li : Try to match against size of message (numerical). + @li : Try to match against size of message (numerical). @li : Try to match against age of message (numerical). */ --- kdepim/kmail/kmsearchpattern.cpp #1.25:1.26 @@ -171,5 +171,5 @@ bool KMSearchRule::matches(const KMMessa // msgContents = msg->headerField("To") + msg->headerField("Cc"); - } else if( mField == "" ) { + } else if( mField == "" ) { numerical = TRUE; numericalMsgContents = int(msg->msgLength()); @@ -289,5 +289,5 @@ bool KMSearchRule::isEmpty() const bool ok; - if ( mField == "" || mField == "" ) { + if ( mField == "" || mField == "" ) { ok = FALSE; mContents.toInt(&ok); --- kdepim/kmail/kmsearchpatternedit.cpp #1.39:1.40 @@ -146,5 +146,5 @@ QString KMSearchRuleWidget::ruleFieldToE if (i18nVal == i18n("")) return QString::fromLatin1(""); if (i18nVal == i18n("")) return QString::fromLatin1(""); - if (i18nVal == i18n("")) return QString::fromLatin1(""); + if (i18nVal == i18n("")) return QString::fromLatin1(""); if (i18nVal == i18n("")) return QString::fromLatin1(""); return i18nVal;