Initial iteration for Qt6 port.

This commit is contained in:
Ernie Pasveer
2023-05-16 15:25:28 -05:00
parent 95d1a9179f
commit 9c49fb7f63
31 changed files with 81 additions and 268 deletions
-4
View File
@@ -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();