You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QPalette.Background was long obsolete, but now using it causes an error, has to be replaced with QPalette.ColorRole.Window. And all calls to QPallete.X should go to QPalette.ColorRole.
Found another thing that changed:
QPalette.Background
was long obsolete, but now using it causes an error, has to be replaced withQPalette.ColorRole.Window
. And all calls toQPallete.X
should go toQPalette.ColorRole
.At least in my code specifically I had this:
And it was breaking the code and showing an error.
Replacing it with:
Fixed the problem.
The text was updated successfully, but these errors were encountered: