FR 4785 then FR 818 at Dublin
Newquay → Dublin → Edinburgh
Timetable, Dublin time
14:35FR 4785 from Newquay at the gate
06:15FR 818 to Edinburgh leaves the gate
15 h 40 apart on the timetable, overnight
FR 818 leaves 15 h 40 after FR 4785 arrives on the timetable: more than half a day, so not a connection we count.