AC 118 then QR 768 at Toronto Pearson
Vancouver → Toronto → Doha
Timetable, Toronto time
23:59AC 118 from Vancouver at the gate
20:10QR 768 to Doha leaves the gate
20 h 11 apart on the timetable, overnight
QR 768 leaves 20 h 11 after AC 118 arrives on the timetable: more than half a day, so not a connection we count.