QmlJS: Declare a metatype for the Dialect enum

This way we can pass it through signals across threads.

Change-Id: I6753233204d9210d181633e16f1d5bff967d55c9
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Ulf Hermann
2017-11-06 14:34:08 +01:00
parent 78513ecd8f
commit 636efd668f

View File

@@ -167,3 +167,5 @@ private:
}; };
} // namespace QmlJS } // namespace QmlJS
Q_DECLARE_METATYPE(QmlJS::Dialect::Enum)