use QDir::homePath, a much more straightforward way of getting the same thing, and it has the benefit of being cross-platform (not that I imagine this code needs this