FR 6274 then BT 878 at Barcelona
Edinburgh → Barcelona → Tallinn
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
11:25BT 878 to Tallinn leaves the gate
14 h 25 apart on the timetable, overnight
BT 878 leaves 14 h 25 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.