UA 769 then QR 3623 at Barcelona
Chicago → Barcelona → Salerno
Timetable, Barcelona time
13:15UA 769 from Chicago at the gatealso AC 4791
07:10QR 3623 to Salerno leaves the gate
17 h 55 apart on the timetable, overnight
QR 3623 leaves 17 h 55 after UA 769 arrives on the timetable: more than half a day, so not a connection we count.