QF 2065 then QF 538 at Sydney
Ballina → Sydney → Brisbane
Timetable, Sydney time
17:35QF 2065 from Ballina at the gate
15:30QF 538 to Brisbane leaves the gate
21 h 55 apart on the timetable, overnight
QF 538 leaves 21 h 55 after QF 2065 arrives on the timetable: more than half a day, so not a connection we count.