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