Diffusion Krita 771f36943414

Make sure all the image-related QObjects belong to the GUI thread

Authored by dkazakov on Apr 20 2017, 2:37 PM.

Description

Make sure all the image-related QObjects belong to the GUI thread

  1. It is needed to make QTimer work correctly
  2. It is also needed to make inter-thread (queued) signals work correctly.

What the patch does is basically putting all the KisImage children
into a QObject hierarchy with the root in KisImage. Then, when KisImage
is transferred to another thread, all the children (and timers)
are transferred as well.

Details

Committed
dkazakovApr 21 2017, 11:02 AM
Parents
R37:f4e178627875: Fix misprint in SkipFirstRedoBase
Branches
Unknown
Tags
Unknown