jcfr/Slicer — comment on commit 091329e31b8ff38a3cb71f4b81f004d612cb6147
File: Base/QTCore/qSlicerCoreApplication.cxx line 949
By jcfr:

In fact this would be better ?

`return QDir(this->slicerHome()).filePath(QString("Slicer%1").arg(qSlicerUtils::executableExtension()));`

May be `qSlicerCoreApplication::slicerHome()` could return a `QDir`

and `qSlicerCoreApplication::slicerHomePath()` could return a `QString`.

This would be similar to what's done with 'QDir::temp()' and 'QDir::tempPath()'

See http://doc.qt.nokia.com/4.7-snapshot/qdir.html#filePath

In that case, the code would:

`return this->slicerHome().filePath(QString("Slicer%1").arg(qSlicerUtils::executableExtension()));`