Fix picking of different view modes

Review Request #124842 - Created Aug. 20, 2015 and submitted

Information
Jan Kundrát
okular
frameworks
f41d8ab...
Reviewers
okular
aacid, vhanda
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.

  
Albert Astals Cid
Jan Kundrát
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit cf513f3dd61ceb01069bf8f0614ecb5401452a71 by Albert Astals Cid on behalf of Jan Kundrát to branch frameworks.
Loading...