EC 3749 then VY 1146 at Barcelona
Milan → Barcelona → Lisbon
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
12:15VY 1146 to Lisbon leaves the gatealso QR 4685
14 h 45 apart on the timetable, overnight
VY 1146 leaves 14 h 45 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.