QmlDesigner: More compile with namespaced Qt

Amends 4886375994. Compiles for me without.

Change-Id: Iaccbe6a2000d1b87008496f0e515a94aa7955061
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-08-31 08:18:13 +02:00
parent a981df3bf6
commit 72406c69ce

View File

@@ -154,8 +154,10 @@ void AssetExporterView::handleTimerTimeout()
}
QT_BEGIN_NAMESPACE
QDebug operator<<(QDebug os, const QmlDesigner::AssetExporterView::LoadState &s)
{
os << static_cast<std::underlying_type<QmlDesigner::AssetExporterView::LoadState>::type>(s);
return os;
}
QT_END_NAMESPACE