Commit 568f11b0 authored by Harald Sitter's avatar Harald Sitter
Browse files

don't crash on nullptr pdfOptionsPage

same as in fbeff5ae there may not be
a pdfOptionsPage when using print preview.

this fixes an exciting crash on our windows build when trying to print

Test Plan: can't easily build on windows but the traceback definitely falls over 0x0000 on that line, so given context I am confident this fixes the crash

Reviewers: aacid

Reviewed By: aacid

Subscribers: okular-devel

Tags: #okular

Differential Revision:
parent 8b107e99
Pipeline #9272 passed with stage
in 14 minutes and 13 seconds