Thanks Lykurg, The only thing Im thinking with that approach is that the code will emit a signal (if its connected as a direct call) it will call close and then delete (but currently the thread is inside the class that is being deleted due to the emit direct call. I have done a test with that and changing the direct to queued mode solved the problem but I want to know if this is the correct way of doing it.
Thanks
Ramiro
Bookmarks