forked from qt-creator/qt-creator
Some more Qt deprecation
s/type/typeId/ Change-Id: I403af524146f0582709c1264e7517d8769dd723b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -65,7 +65,7 @@ QString JsonValue::kindToString(JsonValue::Kind kind)
|
||||
|
||||
JsonValue *JsonValue::build(const QVariant &variant, JsonMemoryPool *pool)
|
||||
{
|
||||
switch (variant.type()) {
|
||||
switch (variant.typeId()) {
|
||||
|
||||
case QVariant::List: {
|
||||
auto newValue = new (pool) JsonArrayValue;
|
||||
|
||||
Reference in New Issue
Block a user