forked from qt-creator/qt-creator
QmlDesigner: Extend project storage printing
Change-Id: I1df39d1aaeb90be5eff7bd2bca92dad0bc2add69 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -52,4 +52,11 @@ inline QDebug &operator<<(QDebug debug, const Type &type)
|
|||||||
return debug;
|
return debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline QDebug &operator<<(QDebug debug, const ImportedTypeName &importedTypeName)
|
||||||
|
{
|
||||||
|
std::visit([&](auto &&type) { debug.noquote() << "(" << type.name << ")"; }, importedTypeName);
|
||||||
|
|
||||||
|
return debug;
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace QmlDesigner::Storage
|
} // namespace QmlDesigner::Storage
|
||||||
|
Reference in New Issue
Block a user