mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 17:10:44 +08:00
Fix compile warning for QTreeWidget::findItems().
Need to explicitly pass Qt::MatchExactly instead of 0.
This commit is contained in:
@@ -141,7 +141,7 @@ void SeerThreadFramesBrowserWidget::handleText (const QString& text) {
|
||||
// Select the current thread id.
|
||||
threadTreeWidget->clearSelection();
|
||||
|
||||
QList<QTreeWidgetItem*> matches = threadTreeWidget->findItems(currentthreadid_text, 0);
|
||||
QList<QTreeWidgetItem*> matches = threadTreeWidget->findItems(currentthreadid_text, Qt::MatchExactly, 0);
|
||||
if (matches.size() > 0) {
|
||||
threadTreeWidget->setCurrentItem(matches.first());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user