diff -r b3da30a52337 -r f4561c24989a Plugins/PluginEricapi.py --- a/Plugins/PluginEricapi.py Fri May 14 17:23:52 2010 +0200 +++ b/Plugins/PluginEricapi.py Fri May 14 17:26:38 2010 +0200 @@ -165,8 +165,8 @@ root, ext = os.path.splitext(outputFileName) outfile = "%s-%s%s" % (root, progLanguage.lower(), ext) - outfile = outfile.replace(project.ppath+os.sep, '') + outfile = project.getRelativePath(outfile) if outfile not in project.pdata['OTHERS']: project.pdata['OTHERS'].append(outfile) project.setDirty(True) - project.othersAdded(outfile) + project.othersAdded(outfile) \ No newline at end of file