EC 7174 then QR 4683 at Barcelona
Berlin → Barcelona → Amsterdam
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
18:30QR 4683 to Amsterdam leaves the gatealso IB 5010, LL 5010
19 h 25 apart on the timetable, overnight
QR 4683 leaves 19 h 25 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.