From: duplo Date: Wed, 31 Mar 2010 13:19:42 +0000 (+0000) Subject: Use QApplication.instance() instead of qApp because qApp seems to ignore the attribut... X-Git-Tag: 2.5.0~558 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=77aa97eefef82a41e7bb5a8c4713016c700a6c54;p=bertos.git 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 --- 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: