LL 5423 then EC 7199 at Barcelona
London Heathrow → Barcelona → Edinburgh
Timetable, Barcelona time
13:10LL 5423 from London Heathrow at the gate
07:20EC 7199 to Edinburgh leaves the gate
18 h 10 apart on the timetable, overnight
EC 7199 leaves 18 h 10 after LL 5423 arrives on the timetable: more than half a day, so not a connection we count.