X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCpuPage.py;h=e42bd2db72391d06eff9288aefadd279b401e157;hb=7615ed0ec58864bc2d5e8de82bde7ee36a998b17;hp=e329dbc866d279557cee07037aa8d92fb0a0415d;hpb=ee276ea346d90090f039720664dbb18d50e6bf7b;p=bertos.git diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index e329dbc8..e42bd2db 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -12,10 +12,7 @@ from BWizardPage import * import bertos_utils -if PYQT_VERSION_STR > "4.4.3": - import qvariant_converter_new as qvariant_converter -else: - import qvariant_converter_old as qvariant_converter +import qvariant_converter class BCpuPage(BWizardPage): @@ -56,7 +53,7 @@ class BCpuPage(BWizardPage): def isComplete(self): if self.pageContent.cpuList.currentRow() != -1: - self._projectInfoStore("CPU_INFOS", qvariant_converter.getStringDict(self.pageContent.cpuList.currentItem().data(Qt.UserRole))) + self._projectInfoStore("CPU_INFOS", qvariant_converter.getDict(self.pageContent.cpuList.currentItem().data(Qt.UserRole))) return True else: return False