Skip to content

Commit

Permalink
owtestlearners: remove processEvents argument from progressbar
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcv committed Sep 23, 2019
1 parent a20bda7 commit 2b64665
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Orange/widgets/evaluate/owtestlearners.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def migrate_settings(cls, settings_, version):

@Slot(float)
def setProgressValue(self, value):
self.progressBarSet(value, processEvents=False)
self.progressBarSet(value)

def __update(self):
self.__needupdate = False
Expand Down Expand Up @@ -821,7 +821,7 @@ def ondone(_):
task.future = self.__executor.submit(testfunc)
task.future.add_done_callback(ondone)

self.progressBarInit(processEvents=None)
self.progressBarInit()
self.setBlocking(True)
self.setStatusMessage("Running")

Expand All @@ -838,7 +838,7 @@ def __task_complete(self, task):
return

self.setBlocking(False)
self.progressBarFinished(processEvents=None)
self.progressBarFinished()
self.setStatusMessage("")
result = task.future
assert result.done()
Expand Down

0 comments on commit 2b64665

Please sign in to comment.