Diffusion Krita 01e3e1bf89de

Refactor how views access their main window

Authored by jounip on Apr 4 2018, 2:40 PM.

Description

Refactor how views access their main window

Code in KisCanvasControllerWidget assumed that they are children of the
main window. This assumption will be broken by the detached canvas mode.
Instead, the access is now routed through KisViewManager.

To ensure that KisView knows of KisViewManager early enough, its
construction has been refactored as well.

Details

Committed
jounipApr 5 2018, 10:45 AM
Parents
R37:b4b3f9af6388: Merge remote-tracking branch 'origin/master' into rempt/intel-3
Branches
Unknown
Tags
Unknown