Commit 16e16dc4 authored by David Schulz's avatar David Schulz

CdbExt: Fix Dumping of a list of QStringLists.

Since Qt5 QStringList is a movable type.

Change-Id: I997ab9ef92646589bc150dcf0d0509084cdfd02d
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent f3b9dd5b
......@@ -750,8 +750,10 @@ static inline AbstractSymbolGroupNodePtrVector
bool isLargeOrStatic = innerTypeSize > pointerSize;
if (!isLargeOrStatic && !SymbolGroupValue::isPointerType(innerType)) {
const KnownType kt = knownType(innerType, false); // inner type, no 'class ' prefix.
if (kt != KT_Unknown && !(kt & (KT_POD_Type|KT_Qt_PrimitiveType|KT_Qt_MovableType)))
if (kt != KT_Unknown && !(kt & (KT_POD_Type|KT_Qt_PrimitiveType|KT_Qt_MovableType))
&& !(kt == KT_QStringList && QtInfo::get(v.context()).version >= 5)) {
isLargeOrStatic = true;
}
}
if (SymbolGroupValue::verbose)
DebugPrint() << "isLargeOrStatic " << isLargeOrStatic;
......
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