Fix return value of PageView::capabilityFlags

Authored by sander on Sep 18 2019, 7:50 AM.

Description

Fix return value of PageView::capabilityFlags

The return type of that method is Okular::View::CapabilityFlags.
Hence, returning 'nullptr' as was done previously cannot be correct,
and 'NoFlag' should be used instead. As both evaluate to '0'
internally there should not be any functional difference.

Details

Committed
sanderOct 2 2019, 1:00 PM
Parents
R223:425a6aa4130c: Simplify a loop
Branches
Unknown
Tags
Unknown