QR 3746 then EI 565 at Barcelona
Milan → Barcelona → Dublin
Timetable, Barcelona time
21:20QR 3746 from Milan at the gate
21:10EI 565 to Dublin leaves the gate
23 h 50 apart on the timetable, overnight
EI 565 leaves 23 h 50 after QR 3746 arrives on the timetable: more than half a day, so not a connection we count.