Commit 9cbd6907 authored by finetjul's avatar finetjul
Browse files

COMP: qSlicerCoreApplication::defaultExtensionsInstallPath() when

Slicer_BUILD_EXTENSIONMANAGER_SUPPORT is OFF

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21557 3bd1e089-480b-0410-8dfb-8563597acbee
parent 78d92559
...@@ -1102,7 +1102,11 @@ QString qSlicerCoreApplication::defaultExtensionsInstallPath() const ...@@ -1102,7 +1102,11 @@ QString qSlicerCoreApplication::defaultExtensionsInstallPath() const
{ {
QSettings* appSettings = this->userSettings(); QSettings* appSettings = this->userSettings();
Q_ASSERT(appSettings); Q_ASSERT(appSettings);
#ifdef Slicer_BUILD_EXTENSIONMANAGER_SUPPORT
return QFileInfo(appSettings->fileName()).dir().filePath(Slicer_EXTENSIONS_DIRNAME); return QFileInfo(appSettings->fileName()).dir().filePath(Slicer_EXTENSIONS_DIRNAME);
#else
return QString();
#endif
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment