EC 7152 then QR 146 at Barcelona
Milan → Barcelona → Doha
Timetable, Barcelona time
16:55EC 7152 from Milan at the gate
15:20QR 146 to Doha leaves the gate
22 h 25 apart on the timetable, overnight
QR 146 leaves 22 h 25 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.