From 44847363660fc92fded95356b71c32c47ed0e682 Mon Sep 17 00:00:00 2001 From: John Thacker Date: Sat, 14 Jan 2023 12:19:45 -0500 Subject: [PATCH] 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. --- ui/qt/expert_info_dialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/qt/expert_info_dialog.cpp b/ui/qt/expert_info_dialog.cpp index df22ceb5d7..88d04b4adc 100644 --- a/ui/qt/expert_info_dialog.cpp +++ b/ui/qt/expert_info_dialog.cpp @@ -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(""); - hint.append(""); ui->hintLabel->setText(hint); ui->groupBySummaryCheckBox->setEnabled(!file_closed_);