QR 3716 then FR 6874 at Barcelona
Rome → Barcelona → Dublin
Timetable, Barcelona time
14:25QR 3716 from Rome at the gate
10:20FR 6874 to Dublin leaves the gate
19 h 55 apart on the timetable, overnight
FR 6874 leaves 19 h 55 after QR 3716 arrives on the timetable: more than half a day, so not a connection we count.