Diffusion Krita 8a00eaec2356

Don't call this->show() in a constructor.

Authored by mwein on Aug 25 2019, 4:57 PM.

Description

Don't call this->show() in a constructor.

Show() triggers a resizeEvent() which is a virtual function call,
which is a really bad idea...
Instead, make the function that created (possibly) hidden widgets
to show() them.
Also, the update() on the children in a resize event was redundant.

Details

Committed
mweinAug 30 2019, 2:55 AM
Parents
R37:e33a04af7075: Don't set a minimum height in color selector dialog UI file.
Branches
Unknown
Tags
Unknown