Skip to content
Commit cf513f3d authored by Jan Kundrát's avatar Jan Kundrát Committed by Albert Astals Cid
Browse files

Fix picking of different view modes

This was broken since commit 077689c4 when this got ported away from
KAction. The code attempted to add a parent QMenu to the QAction
instances nested below that parent. I'm quite surprised that it didn't
crash, but checkable actions do not go well with actions that have
nested menus, apparently.

I haven't checked the rest of the code for similar mistakes, but I don't
see any other case of this bug in Okular's menus when reading PDFs.

REVIEW: 124842
parent b44d70a6
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