Commit 3c5b9b6f authored by Albert Astals Cid's avatar Albert Astals Cid

Fix compile with older poppler

parent ea2a7b26
......@@ -524,13 +524,13 @@ Okular::Action* createLinkFromPopplerLink(const Poppler::Link *popplerLink, bool
break;
#endif
case Poppler::Link::OCGState:
#ifdef HAVE_POPPLER_0_50
case Poppler::Link::OCGState:
link = new Okular::BackendOpaqueAction();
link->setNativeId( QVariant::fromValue( static_cast<const Poppler::LinkOCGState*>( popplerLink ) ) );
deletePopplerLink = false;
#endif
break;
#endif
}
#ifdef HAVE_POPPLER_0_64
......
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