EW 520 then QR 3542 at Barcelona
Cologne → Barcelona → Palma de Mallorca
Timetable, Barcelona time
16:50EW 520 from Cologne at the gate
14:00QR 3542 to Palma de Mallorca leaves the gate
21 h 10 apart on the timetable, overnight
QR 3542 leaves 21 h 10 after EW 520 arrives on the timetable: more than half a day, so not a connection we count.