aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2023-03-01 07:15:36 -0500
committerJohn Thacker <johnthacker@gmail.com>2023-03-01 07:15:36 -0500
commitc9fee454e993845b949defd4bd0a2da5da9c3a01 (patch)
treeb7b82f32f735435743470d64e4caa42a91286b47
parentd98f6b16ef2974454a881d8ed8ba3e0964c39e91 (diff)
Qt: More RTP Leaks
Parent RtpAudioGraph with its QCustomPlot
-rw-r--r--ui/qt/widgets/rtp_audio_graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/widgets/rtp_audio_graph.cpp b/ui/qt/widgets/rtp_audio_graph.cpp
index fe88236c6f..1340658b38 100644
--- a/ui/qt/widgets/rtp_audio_graph.cpp
+++ b/ui/qt/widgets/rtp_audio_graph.cpp
@@ -16,7 +16,7 @@
static const double wf_graph_normal_width_ = 0.5;
-RtpAudioGraph::RtpAudioGraph(QCustomPlot *audio_plot, QRgb color)
+RtpAudioGraph::RtpAudioGraph(QCustomPlot *audio_plot, QRgb color) : QObject(audio_plot)
{
QPen p;
QPalette sel_pal;