W6 1175 then W6 2376 at Barcelona
Katowice → Barcelona → Budapest
Timetable, Barcelona time
15:20W6 1175 from Katowice at the gate
09:25W6 2376 to Budapest leaves the gate
18 h 05 apart on the timetable, overnight
W6 2376 leaves 18 h 05 after W6 1175 arrives on the timetable: more than half a day, so not a connection we count.