Commit aa66d924 authored by Ralf Habacker's avatar Ralf Habacker

Fix KF5 issue 'Exporter searches for XSLT file in nonexistent directory'

BUG:417520
FIXED-IN:2.30.3 (KDE Applications 19.12.3)
parent 4a4dd1fb
......@@ -258,7 +258,7 @@ QString XhtmlGenerator::customXslFile()
QString xslBaseName = QLatin1String("docbook2xhtml.xsl");
#if QT_VERSION >= 0x050000
QString xsltFileName(QStandardPaths::locate(QStandardPaths::DataLocation, xslBaseName));
QString xsltFileName(QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1String("umbrello5/") + xslBaseName));
#else
QString xsltFileName(KGlobal::dirs()->findResource("appdata", xslBaseName));
#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