At the moment that buffer model checks for the isChannel(qobject_cast)
it does not work anymore because the channel class destructor was already
called.
Instead of qobject_cast use now an enum buffer type flag, that will keep
valid until the base buffer object gets destroyed.
At the moment that buffer model checks for the isChannel(qobject_cast) it does not work anymore because the channel class destructor was already called.
Instead of qobject_cast use now an enum buffer type flag, that will keep valid until the base buffer object gets destroyed.