QR 3770 then BT 684 at Barcelona
Seville → Barcelona → Riga
Timetable, Barcelona time
15:00QR 3770 from Seville at the gate
14:05BT 684 to Riga leaves the gate
23 h 05 apart on the timetable, overnight
BT 684 leaves 23 h 05 after QR 3770 arrives on the timetable: more than half a day, so not a connection we count.