mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Output the QPA platform in debug mode
This commit is contained in:
parent
a6adb4c1e9
commit
ee2b4374e3
@ -1106,6 +1106,7 @@ class Application(QApplication):
|
|||||||
show_temp_dir_error(err)
|
show_temp_dir_error(err)
|
||||||
raise SystemExit('Failed to create temporary folder')
|
raise SystemExit('Failed to create temporary folder')
|
||||||
if DEBUG and not headless:
|
if DEBUG and not headless:
|
||||||
|
prints('QPA platform:', self.platformName())
|
||||||
prints('devicePixelRatio:', self.devicePixelRatio())
|
prints('devicePixelRatio:', self.devicePixelRatio())
|
||||||
s = self.primaryScreen()
|
s = self.primaryScreen()
|
||||||
if s:
|
if s:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user