diff options
author | John Thacker <johnthacker@gmail.com> | 2023-03-02 07:58:51 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-03-02 14:48:23 +0000 |
commit | 36395517d348718ab3af01df9ea058f16a578631 (patch) | |
tree | 18c5c96f3d1e86c1ebc429a1b67268da39c4fbaa | |
parent | 0b6e641d3cca4daafc269bedb062d785e6dc7f21 (diff) |
Qt: Don't double escape sequence diagram comments
In the flow diagram, the hint is an ElidedLabel, which now
escapes HTML: d9adb6f712a63dca13957802664d37c52ea4181c
So don't escape the comment before passing it to ElidedLabel, or
the double-escaping will cause quotes, angle brackets, etc. to
look like HTML entities.
-rw-r--r-- | ui/qt/sequence_dialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/sequence_dialog.cpp b/ui/qt/sequence_dialog.cpp index 688a34010e..937893f234 100644 --- a/ui/qt/sequence_dialog.cpp +++ b/ui/qt/sequence_dialog.cpp @@ -389,8 +389,7 @@ void SequenceDialog::mouseMoved(QMouseEvent *event) current_rtp_sai_hovered_ = sai; } packet_num_ = sai->frame_number; - QString raw_comment = html_escape(sai->comment); - hint = QString("Packet %1: %2").arg(packet_num_).arg(raw_comment); + hint = QString("Packet %1: %2").arg(packet_num_).arg(sai->comment); } } |