How to place a window in the center of the screen?
-
Hi,
One way is to change for: QScreen and primaryScreen.
-
In place of getting the desktop widget you get the primary screen from the
qAppobject and then continue as shown in the link you posted.