no assertion please, refs #79
This commit is contained in:
@@ -44,6 +44,7 @@ class PluginFactory: public QWebPluginFactory {
|
|||||||
<<"argumentValues:"<<argumentValues.join(", ");
|
<<"argumentValues:"<<argumentValues.join(", ");
|
||||||
if (mimeType=="application/pdf") {
|
if (mimeType=="application/pdf") {
|
||||||
Poppler::Document *doc = Poppler::Document::load(url.path());
|
Poppler::Document *doc = Poppler::Document::load(url.path());
|
||||||
|
if (!doc) return 0;
|
||||||
// assert(doc);
|
// assert(doc);
|
||||||
// assert(!doc->isLocked());
|
// assert(!doc->isLocked());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user