Remove computed GUI scaling

This commit is contained in:
Veronica Berglyd Olsen committed 2025-01-12 15:39:10 +01:00
1 parent a1d94d63a3
commit 60130f067b
3 files changed
+15 -86

No files matched your search

-7
View File
@@ -143,13 +143,6 @@ class GuiTheme:
self.getHeaderDecoration = self.iconCache.getHeaderDecoration
self.getHeaderDecorationNarrow = self.iconCache.getHeaderDecorationNarrow
# Extract Other Info
self.guiDPI = QApplication.primaryScreen().logicalDotsPerInchX()
self.guiScale = QApplication.primaryScreen().logicalDotsPerInchX()/96.0
CONFIG.guiScale = self.guiScale
logger.debug("GUI DPI: %.1f", self.guiDPI)
logger.debug("GUI Scale: %.2f", self.guiScale)
# Fonts
self.guiFont = QApplication.font()
self.guiFontB = QApplication.font()