Port away from deprecated QDesktopWidget
QDesktopWidget::screenNumber technically behaves different than the new code
screenNumber gives the number of the screen where most of the window is while the new code takes the screen where the top-left corner is
However for practical purposes here that doesn't seem to make a difference