Output the QPA platform in debug mode

This commit is contained in:
Kovid Goyal 2022-07-14 12:29:30 +05:30
parent a6adb4c1e9
commit ee2b4374e3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1106,6 +1106,7 @@ class Application(QApplication):
show_temp_dir_error(err)
raise SystemExit('Failed to create temporary folder')
if DEBUG and not headless:
prints('QPA platform:', self.platformName())
prints('devicePixelRatio:', self.devicePixelRatio())
s = self.primaryScreen()
if s: