QR 3522 then LA 5792 at Barcelona
Málaga → Barcelona → Venezia
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
19:35LA 5792 to Venezia leaves the gate
18 h 15 apart on the timetable
LA 5792 leaves 18 h 15 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.