diff options
Diffstat (limited to 'parts/outputviews/directorystatusmessagefilter.cpp')
-rw-r--r-- | parts/outputviews/directorystatusmessagefilter.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/parts/outputviews/directorystatusmessagefilter.cpp b/parts/outputviews/directorystatusmessagefilter.cpp index 9d110533..64945ad5 100644 --- a/parts/outputviews/directorystatusmessagefilter.cpp +++ b/parts/outputviews/directorystatusmessagefilter.cpp @@ -93,18 +93,18 @@ bool DirectoryStatusMessageFilter::matchEnterDir( const TQString& line, TQString // avoid TQRegExp if possible. This regex performs VERY badly with large inputs, // and the input required is very short if these strings match. - if(line.tqfind(en_e) > -1 || - line.tqfind(fr_e) > -1 || - line.tqfind(pl_e) > -1 || - line.tqfind(ja_e) > -1 || - line.tqfind(ko_e) > -1 || - line.tqfind(ko_b) > -1 || - line.tqfind(pt_br_e) > -1 || - line.tqfind(ru_e) > -1 || - line.tqfind(de_e1) > -1 || - line.tqfind(de_e2) > -1 || - line.tqfind(es_e) > -1 || - line.tqfind(nl_e) > -1) + if(line.find(en_e) > -1 || + line.find(fr_e) > -1 || + line.find(pl_e) > -1 || + line.find(ja_e) > -1 || + line.find(ko_e) > -1 || + line.find(ko_b) > -1 || + line.find(pt_br_e) > -1 || + line.find(ru_e) > -1 || + line.find(de_e1) > -1 || + line.find(de_e2) > -1 || + line.find(es_e) > -1 || + line.find(nl_e) > -1) { // grab the directory name if(dirChange.search(line) > -1) @@ -164,17 +164,17 @@ bool DirectoryStatusMessageFilter::matchLeaveDir( const TQString& line, TQString // avoid TQRegExp if possible. This regex performs VERY badly with large inputs, // and the input required is very short if these strings match. - if(line.tqfind(en_l) > -1 || - line.tqfind(fr_l) > -1 || - line.tqfind(ja_l) > -1 || - (line.tqfind(ko_l) > -1 && line.tqfind(ko_b) > -1) || - line.tqfind(pt_br_l) > -1 || - line.tqfind(ru_l) > -1 || - line.tqfind(de_l1) > -1 || - line.tqfind(de_l2) > -1 || - line.tqfind(es_l) > -1 || - line.tqfind(nl_l) > -1 || - line.tqfind(po_l) > -1) + if(line.find(en_l) > -1 || + line.find(fr_l) > -1 || + line.find(ja_l) > -1 || + (line.find(ko_l) > -1 && line.find(ko_b) > -1) || + line.find(pt_br_l) > -1 || + line.find(ru_l) > -1 || + line.find(de_l1) > -1 || + line.find(de_l2) > -1 || + line.find(es_l) > -1 || + line.find(nl_l) > -1 || + line.find(po_l) > -1) { // grab the directory name if(dirChange.search(line) > -1 ) |