diff --git a/src/stringfilter.cpp b/src/stringfilter.cpp --- a/src/stringfilter.cpp +++ b/src/stringfilter.cpp @@ -84,6 +84,15 @@ void StringFilter::SetFilterTerm(const c } /** + * Set the term to filter on. + * @param str Filter term + */ +void StringFilter::SetFilterTerm(const std::string &str) +{ + this->SetFilterTerm(str.c_str()); +} + +/** * Reset the matching state to process a new item. */ void StringFilter::ResetState()