FR 8385 then EC 7199 at Barcelona
Budapest → Barcelona → Edinburgh
Timetable, Barcelona time
17:20FR 8385 from Budapest at the gate
07:20EC 7199 to Edinburgh leaves the gate
14 h apart on the timetable, overnight
EC 7199 leaves 14 h after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.