QR 31 then UA 5987 at O'Hare
Milan → Chicago → Kansas City
Timetable, Chicago time
17:18QR 31 from Milan at the gate
12:40UA 5987 to Kansas City leaves the gate
19 h 22 apart on the timetable, overnight
UA 5987 leaves 19 h 22 after QR 31 arrives on the timetable: more than half a day, so not a connection we count.