aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/support/deprecated.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-25 16:33:12 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-25 16:33:12 +0200
commit39ac266455cc1c0ae970a47c34d3a6bc7372d750 (patch)
tree9577fe06bcb0e3096ef85af929a91eb37b037452 /sources/pyside2/PySide2/support/deprecated.py
parent9115712ef3a1be8b401c9cd306792dbc30c89bf0 (diff)
parent6717d3540fac74c91d9381958a08e60f6532d402 (diff)
Merge remote-tracking branch 'origin/5.14' into 5.14.2
Diffstat (limited to 'sources/pyside2/PySide2/support/deprecated.py')
-rw-r--r--sources/pyside2/PySide2/support/deprecated.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/PySide2/support/deprecated.py b/sources/pyside2/PySide2/support/deprecated.py
index 8538826e4..57f33d9e2 100644
--- a/sources/pyside2/PySide2/support/deprecated.py
+++ b/sources/pyside2/PySide2/support/deprecated.py
@@ -64,7 +64,7 @@ class PySideDeprecationWarningRemovedInQt6(Warning):
def constData(self):
cls = self.__class__
- name = cls.__name__
+ name = cls.__qualname__
warnings.warn(dedent("""
{name}.constData is unpythonic and will be removed in Qt For Python 6.0 .
Please use {name}.data instead."""