diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2016-12-27 13:31:30 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-12-27 08:27:21 -0800 |
commit | 27b4ef321ade223902ab083aa5a100962c7295f9 (patch) | |
tree | 5b6a8b7f3ef6123cf24988e59329edf319252027 /core | |
parent | a842e44b685dbb7e34df317a8beacff747cee6bd (diff) | |
download | subsurface-27b4ef321ade223902ab083aa5a100962c7295f9.tar.gz |
Correctly open the resource file
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/qthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |