Important: Please read the Qt Code of Conduct -

EventFilter does not updates a variable

  • Hi,

    Im using the eventFilter function to update a variable that's belongs to the same class by generating an event through postevent function(in other class).
    The event is processed and the variable is changed indeed inside of eventFilter function. But from the class that generate the postevent, the variable remains untouched...

    I really thank you

    Ricardo Sousa

  • Can you please provide some code snippets? I don't get the problem...

Log in to reply