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):
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