I've been on QF1 before from SYD-LHR when on one occasion QF37 was delayed by 4 hours leaving Melbourne due to a maintenance issue. They delayed the onward leg of QF1 until QF37 arrived so the transit passengers could make it, so I wouldn't be concerned with that transit time.