[Kde-pim] Review Request 111211: shorten the search in some cases

Guy Maurel guy-kde at maurel.de
Mon Jun 24 17:26:37 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111211/
-----------------------------------------------------------

(Updated June 24, 2013, 4:26 p.m.)


Review request for KDEPIM and Andras Mantia.


Changes
-------

the better way


Description
-------

as looking for asolution of bug #321186, in file kdepim/mailcomman/searchpattern.cpp
I found that the variable msgContents is set to "empty" in the "else-case" of "if ( kasciistricmp( field(), ..."
line 505.

In this case, we can set the variable rc to 0 and don't make the "matchesInternal", line 530.


Diffs (updated)
-----

  mailcommon/searchpattern.cpp 76a8808 

Diff: http://git.reviewboard.kde.org/r/111211/diff/


Testing
-------


Thanks,

Guy Maurel

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list