re-establish resolution detection

since calling QDesktopWidget "early" breaks
the X11 clipboard ... ... ... m(
we now just create a dummy QWidget on the fly
to obtain the logic DPI from that.