QR 3715 then FR 8394 at Barcelona
Rome → Barcelona → Budapest
Timetable, Barcelona time
13:35QR 3715 from Rome at the gatealso IB 5333, LL 5333, LA 5813, VY 6003
09:15FR 8394 to Budapest leaves the gate
19 h 40 apart on the timetable, overnight
FR 8394 leaves 19 h 40 after QR 3715 arrives on the timetable: more than half a day, so not a connection we count.