diff options
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.cxx')
| -rw-r--r-- | Source/QtDialog/QCMakeCacheView.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx index f79d6fc..6f19b67 100644 --- a/Source/QtDialog/QCMakeCacheView.cxx +++ b/Source/QtDialog/QCMakeCacheView.cxx @@ -167,13 +167,9 @@ bool QCMakeCacheView::showAdvanced() const return this->AdvancedFilter->showAdvanced(); } -void QCMakeCacheView::setSearchFilter(const QString& s) +bool QCMakeCacheView::setSearchFilter(const QString& s) { -#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) - this->SearchFilter->setFilterRegularExpression(s); -#else - this->SearchFilter->setFilterFixedString(s); -#endif + return QtCMake::setSearchFilter(this->SearchFilter, s); } QCMakeCacheModel::QCMakeCacheModel(QObject* p) |
