Import 2017-06-07 23:51:09: master 81fe99ef

Author Committer Branch Timestamp Parent
lassoan lassoan master 2016-09-02 22:25:13 master ed1da2a9
Changeset

BUG: Fixed module factoryManager loadModules

When trying to load an unregistered module, caused Slicer to crash
slicer.app.moduleManager().factoryManager().loadModules(['nonexisting'])

Replaced assert by pointer check and added some more checks.

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

mod - Applications/SlicerApp/Testing/Cpp/qSlicerModuleFactoryManagerTest1.cxx Diff File
mod - Base/QTCore/qSlicerAbstractModuleFactoryManager.cxx Diff File