QmlDesigner: Extend project storage printing

Change-Id: I1df39d1aaeb90be5eff7bd2bca92dad0bc2add69
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2022-04-21 11:32:47 +02:00
parent cb2ec46c97
commit 99c62859e1

View File

@@ -52,4 +52,11 @@ inline QDebug &operator<<(QDebug debug, const Type &type)
return debug;
}
inline QDebug &operator<<(QDebug debug, const ImportedTypeName &importedTypeName)
{
std::visit([&](auto &&type) { debug.noquote() << "(" << type.name << ")"; }, importedTypeName);
return debug;
}
} // namespace QmlDesigner::Storage