Move DPI / screen get logging to debug; reduce cli noise
parent
7367ed5464
commit
dc279a48c2
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue