forked from qt-creator/qt-creator
debugger: move global qqNs definition to a saner location
This commit is contained in:
@@ -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 {"
|
||||||
|
|||||||
Reference in New Issue
Block a user