debugger: move global qqNs definition to a saner location

This commit is contained in:
hjk
2011-01-12 13:39:14 +01:00
parent ef5dc8c699
commit 5268b0c865

View File

@@ -792,10 +792,10 @@ def makeExpression(value):
qqNs = None qqNs = None
def qtNamespace(): def qtNamespace():
global qqNs
if not qqNs is None: if not qqNs is None:
return qqNs return qqNs
try: try:
global qqNs
str = catchCliOutput("ptype QString::Null")[0] str = catchCliOutput("ptype QString::Null")[0]
# The result looks like: # The result looks like:
# "type = const struct myns::QString::Null {" # "type = const struct myns::QString::Null {"