This was to be my next step in refactoring the code.

I did replace polling by a QWaitCondition in the waitForAlign() method, removed the mutable attribute and now the code is working as expected.

Thanks again,
Daniel