Traceback (most recent call last):
  File "/home/sander/projects/electrum/electrum/electrum/gui/qt/util.py", line 1090, in input_qr_from_screenshot
    scan_result = scan_qr_from_image(screen.grabWindow(0).toImage())
  File "/home/sander/projects/electrum/electrum/electrum/gui/qt/qrreader/__init__.py", line 63, in scan_qr_from_image
    image_y800.constBits().__int__(), image_y800.byteCount(),
AttributeError: 'NoneType' object has no attribute '__int__'