QR 8143 then IB 342 at O'Hare
Warsaw → Chicago → Madrid
Timetable, Chicago time
17:47QR 8143 from Warsaw at the gate
17:40IB 342 to Madrid leaves the gate
23 h 53 apart on the timetable, overnight
IB 342 leaves 23 h 53 after QR 8143 arrives on the timetable: more than half a day, so not a connection we count.