QR 3582 then IB 5116 at Barcelona
Santiago de Compostela → Barcelona → Ljubljana
Timetable, Barcelona time
15:15QR 3582 from Santiago de Compostela at the gate
15:00IB 5116 to Ljubljana leaves the gatealso LL 5116
23 h 45 apart on the timetable, overnight
IB 5116 leaves 23 h 45 after QR 3582 arrives on the timetable: more than half a day, so not a connection we count.