In the case of not deleting the old backend, this "old" backend is not reachable anymore, the "this" in the connect of the new backend is definitely different from the "this" in the connect of the first instantiation of the backend. They are absolutely different pointers, so I strongly believe
that with the destruction of the backend object something went wrong.
What strikes me most is that the binding in
connect (MyGui, SIGNAL (...), this, SLOT (...))
does NOT have the expected result, while in the same context
connect (this, SIGNAL (...), MyGui, SLOT (...))
does. It does not make sense to me.
So, I am lost and for the time being my simple app has a commented line in the
processorcode:
// delete Mybackend
Mybackend = new Decoder (MyGui, ...);
but the "solution" is rather unsatisfactory.
best
jan
Bookmarks