diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py index bff19802df0..9f2f1354ce2 100644 --- a/share/qtcreator/debugger/qttypes.py +++ b/share/qtcreator/debugger/qttypes.py @@ -1256,7 +1256,7 @@ def qdump__QLocale(d, value): prefix = ns + 'QLocale::' try: - if qtVersionAtLeast(0x060700): + if d.qtVersionAtLeast(0x060700): res = d.call('const char *', value, 'name', prefix + 'TagSeparator::Underscore') else: res = d.call('const char *', value, 'name')