one hell of an ugly workaround for what seems to be one hell of an ugly qt bug...