Remove the redundant thread loop
[src/libhomescreen.git] / sample / template / main.cpp
index ccbe935..589d314 100644 (file)
@@ -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);