This repo is a mess but the diff should still be good for https://bugs.launchpad.net/mixxx/+bug/1201079