I’ve been getting a Qt warning of:
Qt warning: QObject::disconnect: wildcard call disconnects from destroyed signal of QPushButton::unnamed
Which is accompanied by a pop-up dialog. Not ideal. Using the debugger, I narrowed it down, and the warning is thrown every time a package I have vendored for my add-on makes a call to the logger. The logger is initialized as follows:
log_console = logging.StreamHandler(sys.stderr)
default_logger = logging.getLogger(__name__)
default_logger.setLevel(logging.DEBUG)
default_logger.addHandler(log_console)
A warning is then thrown for every log, such as:
default_logger.debug("Prefix dict has been built successfully.")
I’ve checked and indeed removing all but logging.getLogger removes the warning, but besides editing the vendored package, is there a remedy for this?