QF 523 then QF 1511 at Sydney
Brisbane → Sydney → Melbourne
Timetable, Sydney time
13:15QF 523 from Brisbane at the gate
13:00QF 1511 to Melbourne leaves the gate
23 h 45 apart on the timetable, overnight
QF 1511 leaves 23 h 45 after QF 523 arrives on the timetable: more than half a day, so not a connection we count.