Qt: Set small text for ExpertInfoDialog filter

ElidedLabel has its own method to set small text and italicize.
After !9261, any HTML that is passed into it appears escaped,
which we don't want.
This commit is contained in:
John Thacker 2023-01-14 12:19:45 -05:00
parent c0dd9620c5
commit 4484736366
1 changed files with 1 additions and 2 deletions

View File

@ -42,6 +42,7 @@ ExpertInfoDialog::ExpertInfoDialog(QWidget &parent, CaptureFile &capture_file, Q
display_filter_(displayFilter)
{
ui->setupUi(this);
ui->hintLabel->setSmallText();
proxyModel_->setSourceModel(expert_info_model_);
ui->expertInfoTreeView->setModel(proxyModel_);
@ -195,8 +196,6 @@ void ExpertInfoDialog::updateWidgets()
}
ui->limitCheckBox->setToolTip(tooltip);
hint.prepend("<small><i>");
hint.append("</i></small>");
ui->hintLabel->setText(hint);
ui->groupBySummaryCheckBox->setEnabled(!file_closed_);