diff -r 6e260b424396 -r 2b104ad132a4 src/eric7/Project/ProjectInterfacesBrowser.py --- a/src/eric7/Project/ProjectInterfacesBrowser.py Wed Nov 16 10:10:06 2022 +0100 +++ b/src/eric7/Project/ProjectInterfacesBrowser.py Wed Nov 16 10:53:40 2022 +0100 @@ -568,7 +568,7 @@ @param progress reference to the progress dialog (EricProgressDialog) @return reference to the compile process (QProcess) """ - params = self.project.pdata["IDLPARAMS"] + params = self.project.getProjectData(dataKey="IDLPARAMS") self.compileProc = QProcess() args = [] @@ -628,7 +628,7 @@ Private method to compile all interfaces to python. """ if self.omniidl is not None: - numIDLs = len(self.project.pdata["INTERFACES"]) + numIDLs = len(self.project.getProjectData(dataKey="INTERFACES")) progress = EricProgressDialog( self.tr("Compiling interfaces..."), self.tr("Abort"), @@ -641,7 +641,9 @@ progress.setMinimumDuration(0) progress.setWindowTitle(self.tr("Interfaces")) - for prog, fn in enumerate(self.project.pdata["INTERFACES"]): + for prog, fn in enumerate( + self.project.getProjectData(dataKey="INTERFACES") + ): progress.setValue(prog) if progress.wasCanceled(): break @@ -695,7 +697,7 @@ """ from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog - params = self.project.pdata["IDLPARAMS"] + params = self.project.getProjectData(dataKey="IDLPARAMS") dlg = IdlCompilerOptionsDialog( params["IncludeDirs"][:],