From 1210883bae3580bd60107d3a746b6b557d002d33 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Mon, 23 Oct 2017 14:42:50 +0900 Subject: Removed thread loop This is redundant thread, it works without thread. So removed thread loop like libsoundmanager. Relative Commit: https://gerrit.automotivelinux.org/gerrit/#/c/11403/ Change-Id: I32d65efcf32f3395719837339659ff94b3e64889 Signed-off-by: zheng_wenlong --- sample/template/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sample') diff --git a/sample/template/main.cpp b/sample/template/main.cpp index ccbe935..589d314 100644 --- a/sample/template/main.cpp +++ b/sample/template/main.cpp @@ -135,10 +135,6 @@ int main(int argc, char *argv[]) } }); - // Run event loop for HomeScreen - hs->runEventloop(); - - /* * Set SoundManager */ @@ -148,7 +144,6 @@ int main(int argc, char *argv[]) smw->subscribe(QString("removedMainConnection")); smw->subscribe(QString("asyncSetSourceState")); smw->subscribe(QString("asyncConnect")); - smw->run_eventloop(); // Set context property for SoundManager context->setContextProperty("smw", smw); -- cgit 1.2.3-korg