AC 2702 then EC 7199 at Barcelona
Lisbon → Barcelona → Edinburgh
Timetable, Barcelona time
11:45AC 2702 from Lisbon at the gate
07:20EC 7199 to Edinburgh leaves the gate
19 h 35 apart on the timetable, overnight
EC 7199 leaves 19 h 35 after AC 2702 arrives on the timetable: more than half a day, so not a connection we count.