QEventLoop has int argument not flopat
This commit is contained in:
+2
-2
@@ -1580,7 +1580,7 @@ class CAQTableWidget(QTableWidget):
|
||||
time.sleep(self.set_delay)
|
||||
##self.standby_value_button.setEnabled(False)
|
||||
#QApplication.sendPostedEvents()
|
||||
QApplication.processEvents(QEventLoop.AllEvents, 1.0)
|
||||
QApplication.processEvents(QEventLoop.AllEvents, 1)
|
||||
|
||||
if status != self.cyca.ICAFE_NORMAL:
|
||||
_mess = ("The following devices reported an error " +
|
||||
@@ -1657,7 +1657,7 @@ class CAQTableWidget(QTableWidget):
|
||||
if status_list[i] != self.cyca.ICAFE_NORMAL:
|
||||
status = status_list[i]
|
||||
time.sleep(self.set_delay)
|
||||
QApplication.processEvents(QEventLoop.AllEvents, 1.0)
|
||||
QApplication.processEvents(QEventLoop.AllEvents, 1)
|
||||
|
||||
if status != self.cyca.ICAFE_NORMAL:
|
||||
_mess = ("The following device(s) reported an error " +
|
||||
|
||||
Reference in New Issue
Block a user