diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2017-10-23 14:42:50 +0900 |
---|---|---|
committer | Zheng Wenlong <wenlong_zheng@nexty-ele.com> | 2017-10-26 04:35:50 +0000 |
commit | 2f5d8b003df780114093a02f801502cbca440ccf (patch) | |
tree | 8a98f842166e053a1b48cc683d2a6d1f73e50681 /sample/template/main.cpp | |
parent | dd84f77e8462f84d8c7ee1d4d43c15330d894c58 (diff) |
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 <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'sample/template/main.cpp')
-rw-r--r-- | sample/template/main.cpp | 5 |
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); |