QR 105 then BA 866 at Heathrow
Doha → London → Budapest
Timetable, London time
07:20QR 105 from Doha at the gate
06:40BA 866 to Budapest leaves the gate
23 h 20 apart on the timetable, overnight
BA 866 leaves 23 h 20 after QR 105 arrives on the timetable: more than half a day, so not a connection we count.