aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/rtp_analysis_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-08-06 08:39:22 -0700
committerGerald Combs <gerald@wireshark.org>2015-08-06 20:13:08 +0000
commitfda29e1c9521f3da0a194dbedb419d0fb796aa2e (patch)
tree00cc054902f919165931643c8d1bc79d93ec677f /ui/qt/rtp_analysis_dialog.cpp
parent5fa57ecb674fad4abfbcb468a4b81104b798faa0 (diff)
Use int_to_qstring in a few more places.
Change-Id: Id324fe21f436a233088d106553db2ed6f6e410ac Reviewed-on: https://code.wireshark.org/review/9899 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/rtp_analysis_dialog.cpp')
-rw-r--r--ui/qt/rtp_analysis_dialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/qt/rtp_analysis_dialog.cpp b/ui/qt/rtp_analysis_dialog.cpp
index f7d4b79c18..2ebdb29bc6 100644
--- a/ui/qt/rtp_analysis_dialog.cpp
+++ b/ui/qt/rtp_analysis_dialog.cpp
@@ -942,8 +942,8 @@ void RtpAnalysisDialog::updateStatistics()
.arg(port_dst_fwd_);
stats_tables += "<h4>Forward</h4>\n";
stats_tables += "<p><table>\n";
- stats_tables += QString("<tr><th align=\"left\">SSRC</th><td>0x%1</tr>")
- .arg(ssrc_fwd_, 8, 16, QChar('0'));
+ stats_tables += QString("<tr><th align=\"left\">SSRC</th><td>%1</tr>")
+ .arg(int_to_qstring(ssrc_fwd_, 8, 16));
stats_tables += QString("<tr><th align=\"left\">Max Delta</th><td>%1 ms @ %2</td></tr>")
.arg(fwd_statinfo_.max_delta, 0, 'f', 2)
.arg(fwd_statinfo_.max_nr);
@@ -971,8 +971,8 @@ void RtpAnalysisDialog::updateStatistics()
stats_tables += "<h4>Reverse</h4>\n";
stats_tables += "<p><table>\n";
- stats_tables += QString("<tr><th align=\"left\">SSRC</th><td>0x%1</tr>")
- .arg(ssrc_fwd_, 8, 16, QChar('0'));
+ stats_tables += QString("<tr><th align=\"left\">SSRC</th><td>%1</tr>")
+ .arg(int_to_qstring(ssrc_fwd_, 8, 16));
stats_tables += QString("<tr><th align=\"left\">Max Delta</th><td>%1 ms @ %2</td></tr>")
.arg(rev_statinfo_.max_delta, 0, 'f', 2)
.arg(rev_statinfo_.max_nr);