forked from qt-creator/qt-creator
cdbext: Add QPixmap to the QVariant dumper.
Change-Id: Ia1d6b845180239c0d0d3ccfcd7360d16e463cd96 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user