author | zautrix <zautrix> | 2005-06-25 02:44:17 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-25 02:44:17 (UTC) |
commit | dcc7c9ed932ec2ef521aa04b929d0319f65c8bdc (patch) (unidiff) | |
tree | f61360b8f883a6e5fe007c5a24cd35d7cc29ffc0 | |
parent | 1d0b53abc70e66708d93b7081a21a7689b1a1303 (diff) | |
download | kdepimpi-dcc7c9ed932ec2ef521aa04b929d0319f65c8bdc.zip kdepimpi-dcc7c9ed932ec2ef521aa04b929d0319f65c8bdc.tar.gz kdepimpi-dcc7c9ed932ec2ef521aa04b929d0319f65c8bdc.tar.bz2 |
serach fix
-rw-r--r-- | korganizer/searchdialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index 2390520..0e9f64c 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp | |||
@@ -270,5 +270,4 @@ void SearchDialog::doSearch() | |||
270 | { | 270 | { |
271 | QRegExp re; | 271 | QRegExp re; |
272 | |||
273 | re.setWildcard(true); // most people understand these better. | 272 | re.setWildcard(true); // most people understand these better. |
274 | re.setCaseSensitive(false); | 273 | re.setCaseSensitive(false); |
@@ -319,10 +318,9 @@ void SearchDialog::updateView() | |||
319 | st += "*"; | 318 | st += "*"; |
320 | re.setPattern(st); | 319 | re.setPattern(st); |
321 | if (re.isValid()) { | ||
322 | search(re); | ||
323 | } else { | ||
324 | mMatchedEvents.clear(); | 320 | mMatchedEvents.clear(); |
325 | mMatchedTodos.clear(); | 321 | mMatchedTodos.clear(); |
326 | mMatchedJournals.clear(); | 322 | mMatchedJournals.clear(); |
323 | if (re.isValid()) { | ||
324 | search(re); | ||
327 | } | 325 | } |
328 | listView->setStartDate( mStartDate->date() ); | 326 | listView->setStartDate( mStartDate->date() ); |