This line looks like a duplicate of the function QsomeJob:hash() below.