FR 3040 then QR 3769 at Barcelona
Prague → Barcelona → Amsterdam
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
16:25QR 3769 to Amsterdam leaves the gate
19 h 10 apart on the timetable, overnight
QR 3769 leaves 19 h 10 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.