Addon Manager: Eliminate use of QDeadlineTimer

This class is apparently missing in some installs of Qt 5.11.3, so
remove the use of it.
This commit is contained in:
Chris Hennes
2022-01-26 23:14:00 -06:00
parent 96b8a6e87b
commit e296aa6973

View File

@@ -419,7 +419,7 @@ class CommandAddonManager:
thread = getattr(self, worker)
if thread:
if not thread.isFinished():
finished = thread.wait(QtCore.QDeadlineTimer(500))
finished = thread.wait(500)
if not finished:
FreeCAD.Console.PrintWarning(
translate(