From ee2b4374e3127d20a7720b4875fc445738b01584 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Jul 2022 12:29:30 +0530 Subject: [PATCH] Output the QPA platform in debug mode --- src/calibre/gui2/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/__init__.py b/src/calibre/gui2/__init__.py index 6ea5627e55..d00c5e4e92 100644 --- a/src/calibre/gui2/__init__.py +++ b/src/calibre/gui2/__init__.py @@ -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: