FR 6974 then IB 5116 at Barcelona
Rome → Barcelona → Ljubljana
Timetable, Barcelona time
22:25FR 6974 from Rome at the gate
18:25IB 5116 to Ljubljana leaves the gatealso LL 5116
20 h apart on the timetable, overnight
IB 5116 leaves 20 h after FR 6974 arrives on the timetable: more than half a day, so not a connection we count.