QR 3704 then FR 6874 at Barcelona
Bari → Barcelona → Dublin
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
10:45FR 6874 to Dublin leaves the gate
17 h 55 apart on the timetable, overnight
FR 6874 leaves 17 h 55 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.