Maybe you should instead do it properly? See what calls the method and disable it.

BTW. We are talking about Qt3 here, right?