EC 7174 then QR 3536 at Barcelona
Berlin → Barcelona → Palma de Mallorca
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
19:15QR 3536 to Palma de Mallorca leaves the gate
20 h 10 apart on the timetable, overnight
QR 3536 leaves 20 h 10 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.