QR 3704 then VY 1158 at Barcelona
Bari → Barcelona → Valletta
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
11:25VY 1158 to Valletta leaves the gate
18 h 35 apart on the timetable, overnight
VY 1158 leaves 18 h 35 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.