QR 119 then BA 1420 at Heathrow
Doha → London → Inverness
Timetable, London time
08:00QR 119 from Doha at the gate
07:50BA 1420 to Inverness leaves the gate
23 h 50 apart on the timetable, overnight
BA 1420 leaves 23 h 50 after QR 119 arrives on the timetable: more than half a day, so not a connection we count.