Use helper function to find xslt folder

This seems much better than the different hard coded and semi-hard coded
paths we had before.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-10-04 13:21:31 -07:00
parent ae713763c7
commit f8708e2921
3 changed files with 4 additions and 3 deletions

View file

@ -103,6 +103,7 @@ void init_ui(int *argcp, char ***argvp)
QCoreApplication::setOrganizationName("Subsurface");
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
QCoreApplication::setApplicationName("Subsurface");
xslt_path = strdup(getSubsurfaceDataPath("xslt").toAscii().data());
QSettings s;
s.beginGroup("GeneralSettings");