mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 18:20:23 +00:00
Get all the threading working properly so teh dispatcher functions correctly now.
This commit is contained in:
@@ -89,10 +89,11 @@ int main( int argc, char ** argv )
|
||||
//Start the daemon
|
||||
int ret = 1; //error return value
|
||||
if( w->startServer(port, websocket) ){
|
||||
QThread TBACK;
|
||||
QThread TBACK, TBACK2;
|
||||
EVENTS->moveToThread(&TBACK);
|
||||
DISPATCHER->moveToThread(&TBACK);
|
||||
DISPATCHER->moveToThread(&TBACK2);
|
||||
TBACK.start();
|
||||
TBACK2.start();
|
||||
QTimer::singleShot(0,EVENTS, SLOT(start()) );
|
||||
//Now start the main event loop
|
||||
ret = a.exec();
|
||||
|
||||
Reference in New Issue
Block a user