diff --git a/nw/gui/theme.py b/nw/gui/theme.py index b17b7055..2f5a896f 100644 --- a/nw/gui/theme.py +++ b/nw/gui/theme.py @@ -132,7 +132,7 @@ class GuiTheme: self.loadDecoration = self.theIcons.loadDecoration # Extract Other Info - self.guiDPI = qApp.primaryScreen().physicalDotsPerInchX() + self.guiDPI = qApp.primaryScreen().logicalDotsPerInchX() self.guiScale = qApp.primaryScreen().logicalDotsPerInchX()/96.0 self.mainConf.guiScale = self.guiScale logger.verbose("GUI DPI: %.1f" % self.guiDPI)