U2 806 then EC 8061 at Gatwick
Edinburgh → London → Barcelona
Timetable, London time
07:45U2 806 from Edinburgh at the gate
20:00EC 8061 to Barcelona leaves the gate
12 h 15 apart on the timetable
EC 8061 leaves 12 h 15 after U2 806 arrives on the timetable: more than half a day, so not a connection we count.