FR 3977 then QR 146 at Barcelona
Dublin → Barcelona → Doha
Timetable, Barcelona time
19:05FR 3977 from Dublin at the gate
15:20QR 146 to Doha leaves the gate
20 h 15 apart on the timetable, overnight
QR 146 leaves 20 h 15 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.