HI.

I'm creating a simple application but I have some problem.
In my main screen I have a big button that it count how many times I touch the button,
also I have a small button on the top left that launches launch process, another application, the problem appears when you close the application that was launched in the process. The main app "myProcess.waitForFinished(-1);" is waiting for finish, and it run perfect. When we return to the principal app, all events that have been created in the previous process run again as if they were stored in a list while the process has been active.

I try to solved my problem with event filter, but I think that this is not a good solution for me because all events are executed twice, in the process and in the main application, but not at the same time, those events run in the main application when the process is finished, when the events should be run just in the process.

How can clear the event list in my main app when I return to it?

if anyone could help me would really appreciate it! THANKS