FR 6945 then QR 3623 at Barcelona
Warsaw Modlin → Barcelona → Salerno
Timetable, Barcelona time
17:00FR 6945 from Warsaw Modlin at the gate
07:10QR 3623 to Salerno leaves the gate
14 h 10 apart on the timetable, overnight
QR 3623 leaves 14 h 10 after FR 6945 arrives on the timetable: more than half a day, so not a connection we count.