QR 3522 then OS 406 at Barcelona
Málaga → Barcelona → Vienna
Timetable, Barcelona time
00:55QR 3522 from Málaga at the gate
20:30OS 406 to Vienna leaves the gate
19 h 35 apart on the timetable
OS 406 leaves 19 h 35 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.