From 08b31ce2587dfcfbecb2e9d4b6e97c175f58c0e1 Mon Sep 17 00:00:00 2001 From: Simon Redman Date: Mon, 29 Oct 2018 09:47:49 -0600 Subject: [PATCH] Properly Assign LanLinkProvider as the Parent of its child objects Summary: This is not a hugely important change. I noticed it while I was working on something else, and it seems like it ought to be this way Test Plan: Nothing should be noticeably different Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: apol, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D16468 --- core/backends/lan/lanlinkprovider.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp index 38db9b6f9..067b1ded6 100644 --- a/core/backends/lan/lanlinkprovider.cpp +++ b/core/backends/lan/lanlinkprovider.cpp @@ -46,6 +46,8 @@ LanLinkProvider::LanLinkProvider(bool testMode) : m_testMode(testMode) + , m_udpSocket(this) + , m_combineBroadcastsTimer(this) { m_tcpPort = 0;