qt4: do not access a widget from another thread