Fixed qt4 crash, again.