mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Initial iteration for Qt6 port.
This commit is contained in:
@@ -130,11 +130,7 @@ void SeerLibraryBrowserWidget::handleSearchLineEdit (const QString& text) {
|
||||
|
||||
QList<QTreeWidgetItem*> matches;
|
||||
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||
matches = libraryTreeWidget->findItems(text, Qt::MatchRegularExpression | Qt::MatchRecursive, 0);
|
||||
#else
|
||||
matches = libraryTreeWidget->findItems(text, Qt::MatchWildcard | Qt::MatchRecursive, 0);
|
||||
#endif
|
||||
|
||||
QList<QTreeWidgetItem*>::const_iterator it = matches.begin();
|
||||
QList<QTreeWidgetItem*>::const_iterator e = matches.end();
|
||||
|
||||
Reference in New Issue
Block a user