FR 7958 then FR 2098 at Barcelona
Cork → Barcelona → Bologna
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
18:45FR 2098 to Bologna leaves the gate
19 h 50 apart on the timetable, overnight
FR 2098 leaves 19 h 50 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.