Commit e162f18e authored by hjk's avatar hjk
Browse files

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

parent b3657afb
......@@ -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 = ""
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment