mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Fix compile warning for QTreeWidget::findItems().
Need to explicitly pass Qt::MatchExactly instead of 0.
This commit is contained in:
@@ -99,7 +99,7 @@ void SeerStackFramesBrowserWidget::handleText (const QString& text) {
|
||||
// ??? Perhaps show the current frame level somehow.
|
||||
stackTreeWidget->clearSelection();
|
||||
|
||||
QList<QTreeWidgetItem*> matches = stackTreeWidget->findItems("0", 0);
|
||||
QList<QTreeWidgetItem*> matches = stackTreeWidget->findItems("0", Qt::MatchExactly, 0);
|
||||
if (matches.size() > 0) {
|
||||
stackTreeWidget->setCurrentItem(matches.first());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user