]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/CategorizedCombo.cpp
No need (any longer?) to create a new view for lyxfiles-open
[lyx.git] / src / frontends / qt / CategorizedCombo.cpp
index 43ce6cbdf7d0dd5d907682e611a465f8d9b1ae01..0482e1c874fe14a9e6135679166543e0e9e33fa5 100644 (file)
@@ -287,7 +287,7 @@ void CategorizedCombo::Private::setFilter(QString const & s)
                lastSel_ = filterModel_->mapToSource(filterModel_->index(sel, 0)).row();
 
        filter_ = s;
-#if QT_VERSION < 0x060000
+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
        filterModel_->setFilterRegExp(charFilterRegExp(filter_));
 #else
        filterModel_->setFilterRegularExpression(charFilterRegExp(filter_));