ColinDuquesnoy / QDarkStyleSheet

A dark style sheet for QtWidgets application
Other
2.76k stars 726 forks source link

Fix deprecation warning #304

Closed juliangilbey closed 2 years ago

juliangilbey commented 2 years ago

According to https://docs.python.org/3/library/logging.html#logging.Logger.warning the warn() method is deprecated, and it is now giving deprecation warnings. The equivalent warning() method has been present since at least Python 3.5. This patch replaces warn() with warning().

juliangilbey commented 2 years ago

Oh, phooey, I based this PR on develop, not on master, but clicked the wrong thing when I submitted it. I'll close this one and try again.

dpizetta commented 2 years ago

PS: you can edit the branch name after you create the MR.

image

I merged the other one btw.