Change buggy qDeleteAll usage.