aboutsummaryrefslogtreecommitdiffstats
path: root/sample/template
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-10-23 14:42:50 +0900
committerZheng Wenlong <wenlong_zheng@nexty-ele.com>2017-10-30 04:21:39 +0000
commit06a2777ce769346ba85aee9f38ccb237a2d72915 (patch)
treed6fffd3399b155ee6cd8c7801a58e19427741722 /sample/template
parent46f7c260dd5e79116e7c6571cacbda1b89495c9e (diff)
Remove the redundant thread loop
Because libhomescreen already has a thread to receive events, we can remove the thread loop in libhomescreen. Related Commit: https://gerrit.automotivelinux.org/gerrit/#/c/11403/ BUG-AGL: SPEC-989 Change-Id: I32d65efcf32f3395719837339659ff94b3e64889 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'sample/template')
-rw-r--r--sample/template/main.cpp5
1 files changed, 0 insertions, 5 deletions
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);