Commit ab82c1d1 authored by Kai Koehne's avatar Kai Koehne Committed by Allan Sandfeld Jensen
Browse files

Remove unused qmlRegisterRevision call

This was used for registering an alternative QtWebEngine.experimental
import, which has however been removed since then (a4dcc5b4

).

Change-Id: I0edd869fcc0057b2c6a4932eb39cb8f739f571bc
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
Showing with 0 additions and 5 deletions
...@@ -98,8 +98,6 @@ private: ...@@ -98,8 +98,6 @@ private:
const bool m_toggleOn; const bool m_toggleOn;
}; };
#define LATEST_WEBENGINEVIEW_REVISION 5
class Q_WEBENGINE_PRIVATE_EXPORT QQuickWebEngineView : public QQuickItem { class Q_WEBENGINE_PRIVATE_EXPORT QQuickWebEngineView : public QQuickItem {
Q_OBJECT Q_OBJECT
Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged FINAL) Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged FINAL)
......
...@@ -129,9 +129,6 @@ public: ...@@ -129,9 +129,6 @@ public:
msgUncreatableType("FileDialogRequest")); msgUncreatableType("FileDialogRequest"));
qmlRegisterUncreatableType<QQuickWebEngineFormValidationMessageRequest>(uri, 1, 4, "FormValidationMessageRequest", qmlRegisterUncreatableType<QQuickWebEngineFormValidationMessageRequest>(uri, 1, 4, "FormValidationMessageRequest",
msgUncreatableType("FormValidationMessageRequest")); msgUncreatableType("FormValidationMessageRequest"));
// For now (1.x import), the latest revision matches the minor version of the import.
qmlRegisterRevision<QQuickWebEngineView, LATEST_WEBENGINEVIEW_REVISION>(uri, 1, LATEST_WEBENGINEVIEW_REVISION);
} }
private: private:
......
Supports Markdown
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