We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 6b1d5ee commit b53d64bCopy full SHA for b53d64b
python/PyQt/PyQt5/uic/__init__.py
@@ -23,7 +23,19 @@
23
# This will get replaced with a git SHA1 when you do a git archive
24
__revision__ = '$Format:%H$'
25
26
+import warnings
27
from PyQt5.uic.Compiler import indenter, compiler
28
from PyQt5.uic.objcreator import widgetPluginPath
29
from PyQt5.uic import properties, uiparser, Compiler
30
from PyQt5.uic import *
31
+
32
+__PyQtLoadUiType = loadUiType
33
34
35
+def __loadUiType(*args, **kwargs):
36
+ with warnings.catch_warnings():
37
+ warnings.filterwarnings("ignore", category=DeprecationWarning)
38
+ return __PyQtLoadUiType(*args, **kwargs)
39
40
41
+loadUiType = __loadUiType
0 commit comments