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