[Browser] Correctly init parent class

new-script-api
Koncord 7 years ago
parent 62588ce088
commit 1fd16ba69c

@ -35,9 +35,8 @@ PingHelper &PingHelper::Get()
return helper; return helper;
} }
PingHelper::PingHelper() PingHelper::PingHelper() : QObject()
{ {
QObject();
pingThread = new QThread; pingThread = new QThread;
pingUpdater = new PingUpdater; pingUpdater = new PingUpdater;
pingUpdater->moveToThread(pingThread); pingUpdater->moveToThread(pingThread);

Loading…
Cancel
Save