EC 7102 then QR 3542 at Barcelona
Basel → Barcelona → Palma de Mallorca
Timetable, Barcelona time
14:40EC 7102 from Basel at the gate
14:00QR 3542 to Palma de Mallorca leaves the gate
23 h 20 apart on the timetable, overnight
QR 3542 leaves 23 h 20 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.