FR 3050 then VY 6012 at Barcelona
Krakow → Barcelona → Rome
Timetable, Barcelona time
16:15FR 3050 from Krakow at the gate
14:40VY 6012 to Rome leaves the gate
22 h 25 apart on the timetable, overnight
VY 6012 leaves 22 h 25 after FR 3050 arrives on the timetable: more than half a day, so not a connection we count.