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
This commit is contained in:
Simon Redman 2018-10-29 09:47:49 -06:00
parent 19bea39619
commit 08b31ce258

View file

@ -46,6 +46,8 @@
LanLinkProvider::LanLinkProvider(bool testMode)
: m_testMode(testMode)
, m_udpSocket(this)
, m_combineBroadcastsTimer(this)
{
m_tcpPort = 0;