QR 3706 then VY 6094 at Barcelona
Bari → Barcelona → Venezia
Timetable, Barcelona time
23:20QR 3706 from Bari at the gate
19:35VY 6094 to Venezia leaves the gate
20 h 15 apart on the timetable, overnight
VY 6094 leaves 20 h 15 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.