cdbext: Add QPixmap to the QVariant dumper.

Change-Id: Ia1d6b845180239c0d0d3ccfcd7360d16e463cd96
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
David Schulz
2013-04-22 01:00:41 -07:00
parent ec08993b13
commit 788286068e

View File

@@ -2556,6 +2556,11 @@ static bool dumpQVariant(const SymbolGroupValue &v, std::wostream &str, void **s
if (const SymbolGroupValue sv = dataV["shared"]["ptr"].pointerTypeCast(qtInfo.prependQtCoreModule("QPointF *").c_str())) if (const SymbolGroupValue sv = dataV["shared"]["ptr"].pointerTypeCast(qtInfo.prependQtCoreModule("QPointF *").c_str()))
dumpQPoint_F(sv, str); dumpQPoint_F(sv, str);
break; break;
case 65: // QPixmap
str << L"(QPixmap) ";
if (const SymbolGroupValue sv = qVariantCast(dataV, qtInfo.prependQtGuiModule("QPixmap").c_str()))
dumpQPixmap(sv, str);
break;
default: default:
str << L"Type " << typeId; str << L"Type " << typeId;
break; break;