BA 373 then BA 1490 at Heathrow
Toulouse → London → Glasgow
Timetable, London time
18:05BA 373 from Toulouse at the gate
17:55BA 1490 to Glasgow leaves the gate
23 h 50 apart on the timetable, overnight
BA 1490 leaves 23 h 50 after BA 373 arrives on the timetable: more than half a day, so not a connection we count.