FR 7958 then QR 3614 at Barcelona
Cork → Barcelona → Berlin
Timetable, Barcelona time
22:55FR 7958 from Cork at the gate
17:40QR 3614 to Berlin leaves the gate
18 h 45 apart on the timetable, overnight
QR 3614 leaves 18 h 45 after FR 7958 arrives on the timetable: more than half a day, so not a connection we count.