summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-04 13:21:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-04 13:21:31 -0700
commitf8708e2921d116890fa0bac1d46d3b464ca08218 (patch)
tree52d7af2c98e2c222da5ca44352e270f2379f1b17 /qt-gui.cpp
parentae713763c79afb483afec12d02730e0c5a8af309 (diff)
downloadsubsurface-f8708e2921d116890fa0bac1d46d3b464ca08218.tar.gz
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>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index b302e341a..701a88b9e 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -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");