QR 3735 then IB 5116 at Barcelona
Mahón → Barcelona → Ljubljana
Timetable, Barcelona time
17:40QR 3735 from Mahón at the gate
15:00IB 5116 to Ljubljana leaves the gatealso LL 5116
21 h 20 apart on the timetable, overnight
IB 5116 leaves 21 h 20 after QR 3735 arrives on the timetable: more than half a day, so not a connection we count.