mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Fix compile warning for QTreeWidget::findItems().
Need to explicitly pass Qt::MatchExactly instead of 0.
This commit is contained in:
@@ -64,7 +64,7 @@ void SeerThreadIdsBrowserWidget::handleText (const QString& text) {
|
||||
// Clear the selection and select the one for the current thread-id.
|
||||
idsTreeWidget->clearSelection();
|
||||
|
||||
QList<QTreeWidgetItem*> matches = idsTreeWidget->findItems(currentthreadid_text, 0);
|
||||
QList<QTreeWidgetItem*> matches = idsTreeWidget->findItems(currentthreadid_text, Qt::MatchExactly, 0);
|
||||
if (matches.size() > 0) {
|
||||
idsTreeWidget->setCurrentItem(matches.first());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user