mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Fixed source wildcard search for older QT version.
This commit is contained in:
@@ -133,7 +133,7 @@ void SeerLibraryBrowserWidget::handleSearchLineEdit (const QString& text) {
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||
matches = libraryTreeWidget->findItems(text, Qt::MatchRegularExpression | Qt::MatchRecursive, 0);
|
||||
#else
|
||||
matches = libraryTreeWidget->findItems(text, Qt::MatchRegExp | Qt::MatchRecursive, 0);
|
||||
matches = libraryTreeWidget->findItems(text, Qt::MatchWildcard | Qt::MatchRecursive, 0);
|
||||
#endif
|
||||
|
||||
QList<QTreeWidgetItem*>::const_iterator it = matches.begin();
|
||||
|
||||
Reference in New Issue
Block a user