QR 3522 then EC 1298 at Barcelona
Málaga → Barcelona → Geneva
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
21:15EC 1298 to Geneva leaves the gate
19 h 55 apart on the timetable
EC 1298 leaves 19 h 55 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.