FR 8393 then QR 3578 at Barcelona
Budapest → Barcelona → Rome
Timetable, Barcelona time
00:50FR 8393 from Budapest at the gate
21:05QR 3578 to Rome leaves the gatealso IB 5772, LL 5772
20 h 15 apart on the timetable
QR 3578 leaves 20 h 15 after FR 8393 arrives on the timetable: more than half a day, so not a connection we count.