The Morph browser obtains screen information via qApp->focusWindow(), but if a URL is given as command line argument, the focus window is apparently not set yet when the screen information is requested for this initial web page. Use qApp->primaryScreen() in that case.
The Morph browser obtains screen information via
qApp->focusWindow()
, but if a URL is given as command line argument, the focus window is apparently not set yet when the screen information is requested for this initial web page. UseqApp->primaryScreen()
in that case.