[PyQt] self.sender() never return instance of QProcess in the destroyed slot of QProcess
Zhao Lee
redstone-cold at 163.com
Mon Apr 10 08:36:24 BST 2017
self.sender() never return instance of QProcess in the destroyed slot of QProcess, anyone can explain why ?
my code almost looks like the following
process = QProcess(self)
process.destroyed.connect(self.onProcessDestroyed)
def onProcessDestroyed(self):
process = self.sender()
print('onProcessDestroyed---------', process)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170410/5a9ee164/attachment.html>
More information about the PyQt
mailing list