Commit f8004713 authored by hjk's avatar hjk
Browse files

qml: compile fix with namespaces

parent 7c790c1e
......@@ -104,11 +104,9 @@ public:
} // namespace QmlProjectManager
QT_BEGIN_NAMESPACE
QML_DECLARE_TYPE(QmlProjectManager::QmlFileFilterItem)
QML_DECLARE_TYPE(QmlProjectManager::JsFileFilterItem)
QML_DECLARE_TYPE(QmlProjectManager::ImageFileFilterItem)
QML_DECLARE_TYPE(QmlProjectManager::CssFileFilterItem)
QT_END_NAMESPACE
#endif // FILEFILTERITEMS_HPROJECTITEM_H
......@@ -53,10 +53,8 @@ protected:
} // namespace QmlProjectManager
QT_BEGIN_NAMESPACE
QML_DECLARE_TYPE(QmlProjectManager::QmlProjectItem);
QML_DECLARE_TYPE(QmlProjectManager::QmlProjectContentItem);
QT_END_NAMESPACE
Q_DECLARE_METATYPE(QList<QmlProjectManager::QmlProjectContentItem *>);
......
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