debugger: fail gracefully when trying to extract the Qt namespace in non-Qt

applications
This commit is contained in:
hjk
2010-01-11 13:14:54 +01:00
parent b3657afb83
commit e162f18e81

View File

@@ -241,6 +241,9 @@ def qtNamespace():
return type[0:len(type) - len("QString::null")]
except RuntimeError:
return ""
except AttributeError:
# Happens for none-Qt applications
return ""
def encodeCharArray(p, size):
s = ""