From f8708e2921d116890fa0bac1d46d3b464ca08218 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 4 Oct 2013 13:21:31 -0700 Subject: 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 --- qt-gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-gui.cpp') 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"); -- cgit v1.2.3-70-g09d2