Diffusion Krita 9932f751bef1

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

QWidget::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 31 2019, 1:12 AM
Parents
R37:d7cdcb0f445b: Don't set a minimum height in color selector dialog UI file.
Branches
Unknown
Tags
Unknown