This question already has an answer here:
When exporting a print layout to image or PDF in QGIS 3.6, the default resolution is 300dpi. I'd like to change that default.
There's an analogue question here: Adjusting QGIS Print Composer output resolution?
But that targets QGIS 2.12 and the answer does not apply to QGIS 3.6.