Revert "Qt4 preferences: fix a nice memory leak."