QF 1989 then QF 2042 at Sydney
Townsville → Sydney → Dubbo
Timetable, Sydney time
18:00QF 1989 from Townsville at the gate
15:10QF 2042 to Dubbo leaves the gate
21 h 10 apart on the timetable, overnight
QF 2042 leaves 21 h 10 after QF 1989 arrives on the timetable: more than half a day, so not a connection we count.