QR 3704 then EC 7107 at Barcelona
Bari → Barcelona → Geneva
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
14:40EC 7107 to Geneva leaves the gate
21 h 50 apart on the timetable, overnight
EC 7107 leaves 21 h 50 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.