core, fix warning of use of deprecated QApplication::desktop()->screenGeometry()

Authored by jjazeix on Jul 14 2019, 6:23 PM.