QR 3654 then FR 4545 at Barcelona
Nantes → Barcelona → Porto
Timetable, Barcelona time
17:20QR 3654 from Nantes at the gate
17:15FR 4545 to Porto leaves the gate
23 h 55 apart on the timetable, overnight
FR 4545 leaves 23 h 55 after QR 3654 arrives on the timetable: more than half a day, so not a connection we count.