Fix crash when launching SurfOpt plugin with Qt5.

This commit is contained in:
Christophe Bourcier 2016-07-08 11:37:47 +02:00
parent ab2525d905
commit 65b30f865b

View File

@ -108,7 +108,7 @@ class MonViewText(Ui_ViewExe, QDialog):
def readFromStdOut(self) : def readFromStdOut(self) :
a=self.monExe.readAllStandardOutput() a=self.monExe.readAllStandardOutput()
aa=unicode(a.data(),len(a)) aa=unicode(a.data())
self.TB_Exe.append(aa) self.TB_Exe.append(aa)
if "END_OF_MGSurfOpt" in aa: if "END_OF_MGSurfOpt" in aa:
self.parent().enregistreResultat() self.parent().enregistreResultat()