Changes for new API

master3.3
parent e7cc73b6f0
commit 57159aaf57

@ -388,9 +388,6 @@ class MainFrameRes(QtGui.QWidget):
def endGroup(self, item):
pass
def callView(self, item, sid):
return 0
def kill_process(self, pid):
def wrapper():
sid = int(self.ClientObj.sid)
@ -512,8 +509,6 @@ class MainFrameRes(QtGui.QWidget):
if case('endGroup'):
self.endGroup(item)
return 1
if case('briefParams'):
self.callView(item, sid)
if case(): # default, could also just omit condition or 'if True'
return 1

@ -236,9 +236,6 @@ class ShortFrameRes(QtGui.QWidget):
def endGroup(self, item):
pass
def callView(self, item, sid):
return 0
def kill_process(self, pid):
def wrapper():
sid = int(self.ClientObj.sid)
@ -356,8 +353,6 @@ class ShortFrameRes(QtGui.QWidget):
if case('endGroup'):
self.endGroup(item)
return 1
if case('briefParams'):
self.callView(item, sid)
if case(): # default, could also just omit condition or 'if True'
return 1

Loading…
Cancel
Save