Use QApplication.instance() instead of qApp because qApp seems to ignore the attribut...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 13:19:42 +0000 (13:19 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 13:19:42 +0000 (13:19 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3350 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BEditingDialog.py

index db2fcf11d84eb56ae2fa312124afcf34ae1b9378..1bf81fcc6731cb0db420ae8411c6a20d393d7a20 100644 (file)
@@ -135,7 +135,7 @@ class BEditingDialog(QDialog):
                     enabled_modules = bertos_utils.enabledModules(dialog.version_page.project())
                     old_configuration = dialog.version_page.projectInfo("CONFIGURATIONS")
                     dialog.version_page.project().loadSourceTree()
-                    qApp.project.loadModuleData(dialog.version_page.project())
+                    QApplication.instance().project.loadModuleData()
                     new_configuration = dialog.version_page.projectInfo("CONFIGURATIONS")
                     merged_configuration = {}
                     for conf in new_configuration: