Merge pull request #1370 from jenshnielsen/fix_timer_deprecation_warning

Fix deprecation warning in multiprocess module
This commit is contained in:
Kenneth Lyons 2020-09-16 21:40:28 -07:00 committed by GitHub
commit fa77c65199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,7 +429,7 @@ class QtProcess(Process):
This allows signals to be connected from the child process to the parent.
"""
self.timer.timeout.connect(self.processRequests)
self.timer.start(interval*1000)
self.timer.start(int(interval*1000))
def stopRequestProcessing(self):
self.timer.stop()