WN 2945 then QR 8796 at San Francisco
Chicago Midway → San Francisco → San Diego
Timetable, San Francisco time
13:10WN 2945 from Chicago Midway at the gate
11:53QR 8796 to San Diego leaves the gate
22 h 43 apart on the timetable, overnight
QR 8796 leaves 22 h 43 after WN 2945 arrives on the timetable: more than half a day, so not a connection we count.