tobiasdeiminger added a comment.
This is an Okular specific fix. However any application that uses KMainWindow could run into the same problem, so I wonder if there's a way to harden frameworks kxmlgui against that dangling pointer issue? REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D16457 To: tobiasdeiminger Cc: okular-devel, ngraham, aacid