Fix regexpfilter matching with an empty regex

wilder-portage
Martin T. H. Sandsmark 10 years ago
parent 6c23f43ec3
commit 9175663f21
  1. 2
      src/Filter.cpp

@ -337,7 +337,7 @@ void RegExpFilter::process()
Q_ASSERT(text);
if (!_searchText.isValid()) {
if (!_searchText.isValid() || _searchText.pattern().isEmpty()) {
return;
}

Loading…
Cancel
Save