FR 334 then FR 6920 at Barcelona
Gdansk → Barcelona → Dublin
Timetable, Barcelona time
10:35FR 334 from Gdansk at the gate
06:20FR 6920 to Dublin leaves the gate
19 h 45 apart on the timetable, overnight
FR 6920 leaves 19 h 45 after FR 334 arrives on the timetable: more than half a day, so not a connection we count.