From 77aa97eefef82a41e7bb5a8c4713016c700a6c54 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 31 Mar 2010 13:19:42 +0000 Subject: [PATCH] Use QApplication.instance() instead of qApp because qApp seems to ignore the attributes manually injected. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3350 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BEditingDialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/BEditingDialog.py b/wizard/BEditingDialog.py index db2fcf11..1bf81fcc 100644 --- a/wizard/BEditingDialog.py +++ b/wizard/BEditingDialog.py @@ -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: -- 2.25.1