aboutsummaryrefslogtreecommitdiffstats
path: root/sample
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-23 14:42:50 +0900
commit1210883bae3580bd60107d3a746b6b557d002d33 (patch)
treee842c387a57a2be154438bb6e29292823f942667 /sample
parent81926df0f7c9c6459e7c7052b589bc5a27283a20 (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')
-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);