From 1fd16ba69c4893cfe7379ea6bb0f65e5ac59cd4b Mon Sep 17 00:00:00 2001 From: Koncord Date: Wed, 11 Oct 2017 06:35:22 +0800 Subject: [PATCH] [Browser] Correctly init parent class --- apps/browser/PingHelper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/browser/PingHelper.cpp b/apps/browser/PingHelper.cpp index cec25cfe5..030f71610 100644 --- a/apps/browser/PingHelper.cpp +++ b/apps/browser/PingHelper.cpp @@ -35,9 +35,8 @@ PingHelper &PingHelper::Get() return helper; } -PingHelper::PingHelper() +PingHelper::PingHelper() : QObject() { - QObject(); pingThread = new QThread; pingUpdater = new PingUpdater; pingUpdater->moveToThread(pingThread);