Use fixed size for the Wizard dialog.
[bertos.git] / wizard / BCpuPage.py
index 49daf8c98df294e023bdd44897b446d602cf692e..4a5fcf6fda2e8fdbc11623abf75b14c6d9b52e61 100644 (file)
@@ -112,7 +112,7 @@ class BCpuPage(BWizardPage):
         """
         try:
             QApplication.instance().setOverrideCursor(Qt.WaitCursor)
-            self.project().loadSourceTree()
+            self.project.loadSourceTree()
             self.populateCpuList()
             cpu_name = self.projectInfo("CPU_NAME")
             selected_freq = self.projectInfo("SELECTED_FREQ")
@@ -161,7 +161,7 @@ class BCpuPage(BWizardPage):
         """
         self.pageContent.cpuList.clear()
         self.pageContent.cpuList.setCurrentItem(None)
-        infos = self.project().loadCpuInfos()
+        infos = self.project.getCpuInfos()
         tag_list = bertos_utils.getTagSet(infos)
         # Create, fill and store the dict with the tags
         tag_dict = {}