QR 3702 then QR 146 at Barcelona
Berlin → Barcelona → Doha
Timetable, Barcelona time
23:50QR 3702 from Berlin at the gate
15:20QR 146 to Doha leaves the gate
15 h 30 apart on the timetable, overnight
QR 146 leaves 15 h 30 after QR 3702 arrives on the timetable: more than half a day, so not a connection we count.