FR 6274 then W6 7022 at Barcelona
Edinburgh → Barcelona → Bratislava
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
13:40W6 7022 to Bratislava leaves the gate
16 h 40 apart on the timetable, overnight
W6 7022 leaves 16 h 40 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.