-rw-r--r-- | libopie/pim/otodo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/pim/otodo.cpp b/libopie/pim/otodo.cpp index a29d88e..e087a00 100644 --- a/libopie/pim/otodo.cpp +++ b/libopie/pim/otodo.cpp | |||
@@ -107,8 +107,12 @@ bool OTodo::match( const QRegExp ®Exp )const | |||
107 | if( QString::number( data->priority ).find( regExp ) != -1 ){ | 107 | if( QString::number( data->priority ).find( regExp ) != -1 ){ |
108 | setLastHitField( Priority ); | ||
108 | return true; | 109 | return true; |
109 | }else if( data->hasDate && data->date.toString().find( regExp) != -1 ){ | 110 | }else if( data->hasDate && data->date.toString().find( regExp) != -1 ){ |
111 | setLastHitField( HasDate ); | ||
110 | return true; | 112 | return true; |
111 | }else if(data->desc.find( regExp ) != -1 ){ | 113 | }else if(data->desc.find( regExp ) != -1 ){ |
114 | setLastHitField( Description ); | ||
112 | return true; | 115 | return true; |
113 | }else if(data->sum.find( regExp ) != -1 ) { | 116 | }else if(data->sum.find( regExp ) != -1 ) { |
117 | setLastHitField( Summary ); | ||
114 | return true; | 118 | return true; |