Diffusion Krita 480f8d9d93f4

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, 7:57 PM
Parents
R37:5d80c39ce600: Don't set a minimum height in color selector dialog UI file.
Branches
Unknown
Tags
Unknown