https://bugs.kde.org/show_bug.cgi?id=427311
--- Comment #1 from Kai Uwe Broulik <k...@privat.broulik.de> --- It appears to be const_cast<QDialog*>(dialog)->setContentsMargins(margins.left(), qMax(margins.top(), 1), margins.right(), margins.bottom()); It changes the content margins which probably causes the preview to repaint in response to a change of available area. Imho it's quite bad to tamper with widgets like this in the paint pass. Isn't polish meant to be used for such preparation? -- You are receiving this mail because: You are watching all bug changes.