FR 574 then EC 7199 at Barcelona
Bologna → Barcelona → Edinburgh
Timetable, Barcelona time
16:30FR 574 from Bologna at the gate
15:45EC 7199 to Edinburgh leaves the gate
23 h 15 apart on the timetable, overnight
EC 7199 leaves 23 h 15 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.