AA 3739 then QR 8165 at O'Hare
Omaha → Chicago → Doha
Timetable, Chicago time
14:12AA 3739 from Omaha at the gate
13:15QR 8165 to Doha leaves the gate
23 h 03 apart on the timetable, overnight
QR 8165 leaves 23 h 03 after AA 3739 arrives on the timetable: more than half a day, so not a connection we count.