aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/support/deprecated.py
diff options
context:
space:
mode:
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."""