Import 2017-06-07 23:51:09: master 855af2b1

Author Committer Branch Timestamp Parent
jcfr jcfr master 2017-05-25 01:06:41 master 68188d76
Changeset

STYLE: SlicerCoreApplication: Simplify code removing updatePythonOsEnviron()

This commit simplifies the code removing optimization (use of "updatePythonOsEnviron()"
function and associated cache variable "EnvironmentVariablesCache") initially introduced
in commits:

  • r16909 (BUG: Call updatePythonOsEnviron() after python is initialized.)
  • r18762 (ENH: Initialization of python context done within qSlicerCoreApplication)
  • r17611 (ENH: qSlicerCoreApplication - Add convenient function allowing to update environment).

git-svn-id: http://svn.slicer.org/Slicer4/trunk@26040 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/QTCore/qSlicerCoreApplication.cxx Diff File
mod - Base/QTCore/qSlicerCoreApplication_p.h Diff File