Original version of qttrackcleanup