summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webengine/api/qquickwebengineview_p.h6
-rw-r--r--src/webenginewidgets/api/qwebenginepage.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/webengine/api/qquickwebengineview_p.h b/src/webengine/api/qquickwebengineview_p.h
index 2956c61a..78499081 100644
--- a/src/webengine/api/qquickwebengineview_p.h
+++ b/src/webengine/api/qquickwebengineview_p.h
@@ -103,9 +103,9 @@ public:
// must match WebContentsAdapterClient::JavaScriptConsoleMessageLevel
enum JavaScriptConsoleMessageLevel {
- Info = 0,
- Warning,
- Error
+ InfoMessageLevel = 0,
+ WarningMessageLevel,
+ ErrorMessageLevel
};
public Q_SLOTS:
diff --git a/src/webenginewidgets/api/qwebenginepage.h b/src/webenginewidgets/api/qwebenginepage.h
index 9ef6e684..4c24db61 100644
--- a/src/webenginewidgets/api/qwebenginepage.h
+++ b/src/webenginewidgets/api/qwebenginepage.h
@@ -133,9 +133,9 @@ public:
// must match WebContentsAdapterClient::JavaScriptConsoleMessageLevel
enum JavaScriptConsoleMessageLevel {
- Info = 0,
- Warning,
- Error
+ InfoMessageLevel = 0,
+ WarningMessageLevel,
+ ErrorMessageLevel
};
explicit QWebEnginePage(QObject *parent = 0);