Move DPI / screen get logging to debug; reduce cli noise

ordermodepps_backup
Tyler Goodlet 2021-07-22 11:43:18 -04:00
parent 5eada47cbf
commit fd425dca29
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ class DpiAwareFont:
self._font_inches = inches
font_size = math.floor(inches * dpi)
log.info(
log.debug(
f"\nscreen:{screen.name()} with pDPI: {pdpi}, lDPI: {ldpi}"
f"\nOur best guess font size is {font_size}\n"
)

View File

@ -230,7 +230,7 @@ class MainWindow(QtGui.QMainWindow):
for _ in range(3):
screen = app.screenAt(self.pos())
print('trying to access QScreen...')
log.debug('trying to access QScreen...')
if screen is None:
time.sleep(0.5)
continue