aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/rtp_analysis_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-03 11:18:13 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-09 21:57:08 +0000
commitcd9f163eb91d4c70977f669472d5acaf7a4fbe7c (patch)
tree268428ad90ed1a46ae67df78c3124fc751e40b2d /ui/qt/rtp_analysis_dialog.cpp
parent302b03a0bbe3702f93eced884d8103528c35e8d7 (diff)
Add the IAX2 Analysis dialog.
Copied from the RTP Analysis dialog, just like the GTK+ version. Change-Id: I111020bc4073a3a3ba583bdace51a91ee5fef300 Reviewed-on: https://code.wireshark.org/review/10447 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 493012da00..79eb1dd9e9 100644
--- a/ui/qt/rtp_analysis_dialog.cpp
+++ b/ui/qt/rtp_analysis_dialog.cpp
@@ -71,9 +71,9 @@ enum {
status_col_
};
-const QRgb color_cn_ = 0xbfbfff;
-const QRgb color_rtp_warn_ = 0xffdbbf;
-const QRgb color_pt_event_ = 0xefffff;
+static const QRgb color_cn_ = 0xbfbfff;
+static const QRgb color_rtp_warn_ = 0xffdbbf;
+static const QRgb color_pt_event_ = 0xefffff;
enum { rtp_analysis_type_ = 1000 };
class RtpAnalysisTreeWidgetItem : public QTreeWidgetItem
@@ -115,7 +115,7 @@ public:
status = "Suspected duplicate (MAC address) only delta time calculated";
bg_color = color_rtp_warn_;
} else if (statinfo->flags & STAT_FLAG_REG_PT_CHANGE) {
- status = QString("Payload changed to PT=%u").arg(statinfo->pt);
+ status = QString("Payload changed to PT=%1").arg(statinfo->pt);
if (statinfo->flags & STAT_FLAG_PT_T_EVENT) {
status.append(" telephone/event");
}