Commit e1ac5b52 authored by hjk's avatar hjk
Browse files

debugger: fix fancy QImage display

parent fccd4d5e
......@@ -190,7 +190,9 @@ def catchCliOutput(command):
gdb.execute("set logging off")
gdb.execute("set logging redirect off")
if len(msg):
warn("CLI ERROR: %s " % msg)
# Having that might confuse result handlers in the gdbengine.
#warn("CLI ERROR: %s " % msg)
return "CLI ERROR: %s " % msg
temp = open(filename, "r")
lines = []
for line in temp:
......@@ -424,8 +424,8 @@ def qdump__QList(d, item):
d.putItem(Item(pp, item.iname, i))
p += 1
def qdump__QImage():
return "Normal,Displayed";
def qform__QImage():
return "Normal,Displayed"
def qdump__QImage(d, item):
painters = item.value["painters"]
......@@ -1518,7 +1518,7 @@ def qdump__QStack(d, item):
qdump__QVector(d, item)
def qform__QString():
return "Inline,Separate Window";
return "Inline,Separate Window"
def qdump__QString(d, item):
Markdown is supported
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