I did research on all of them. I saw that docs use just unpolish() and polish(), but stackoverflows answers use them with update(). I tried and polish() without unpolish() and update() and it works. So what's the diffrence? Using only polish() is safe?
Asked
Active
Viewed 461 times
1
-
What classes do these methods belong to? I found `polish()` and `unpolish` within `QStyle` but that does not have an `update()` method. – SebDieBln Dec 21 '21 at 16:44
-
2You're right. I'm talking about code like this: https://stackoverflow.com/questions/22562716/changing-stylesheet-dynamically When you call update on widget at the end. – nebo Dec 22 '21 at 14:05