diff options
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/capture_file_properties_dialog.cpp | 2 | ||||
-rw-r--r-- | ui/qt/packet_list.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/capture_file_properties_dialog.cpp b/ui/qt/capture_file_properties_dialog.cpp index a8e7284008..7d5ae82369 100644 --- a/ui/qt/capture_file_properties_dialog.cpp +++ b/ui/qt/capture_file_properties_dialog.cpp @@ -530,7 +530,7 @@ void CaptureFilePropertiesDialog::fillDetails() for (guint32 framenum = 1; framenum <= cap_file_.capFile()->count ; framenum++) { frame_data *fdata = frame_data_sequence_find(cap_file_.capFile()->frames, framenum); - char *pkt_comment = cf_get_comment(cap_file_.capFile(), fdata); + char *pkt_comment = cf_get_packet_comment(cap_file_.capFile(), fdata); if (pkt_comment) { QString frame_comment_html = tr("<p>Frame %1: ").arg(framenum); diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index f34044c716..e3e1e145a0 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -1091,7 +1091,7 @@ QString PacketList::packetComment() if (!fdata) return NULL; - pkt_comment = cf_get_comment(cap_file_, fdata); + pkt_comment = cf_get_packet_comment(cap_file_, fdata); return QString(pkt_comment); @@ -1134,7 +1134,7 @@ QString PacketList::allPacketComments() for (framenum = 1; framenum <= cap_file_->count ; framenum++) { fdata = frame_data_sequence_find(cap_file_->frames, framenum); - char *pkt_comment = cf_get_comment(cap_file_, fdata); + char *pkt_comment = cf_get_packet_comment(cap_file_, fdata); if (pkt_comment) { buf_str.append(QString(tr("Frame %1: %2\n\n")).arg(framenum).arg(pkt_comment)); |