From 27b4ef321ade223902ab083aa5a100962c7295f9 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 27 Dec 2016 13:31:30 +0100 Subject: Correctly open the resource file Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- core/qthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/qthelper.cpp b/core/qthelper.cpp index e0a5b1556..885e89d98 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -320,7 +320,7 @@ static xmlDocPtr get_stylesheet_doc(const xmlChar *uri, xmlDictPtr, int, void *, QFile f(QLatin1String(":/xslt/") + (const char *)uri); if (!f.open(QIODevice::ReadOnly)) { if (verbose > 0) { - qDebug() << "cannot open stylesheet" << QLatin1String(":/xslt/") + (const char *)uri; + qDebug() << "cannot open stylesheet" << QLatin1String(":/xslt/") + (const char *)uri << f.errorString(); return NULL; } } -- cgit v1.2.3-70-g09d2