QR 3522 then W6 2096 at Barcelona
Málaga → Barcelona → Krakow
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
19:05W6 2096 to Krakow leaves the gate
17 h 45 apart on the timetable
W6 2096 leaves 17 h 45 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.