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

fsp_feeds
Tyler Goodlet 2021-07-22 11:43:18 -04:00
parent 7367ed5464
commit dc279a48c2
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