From f80f271e0c66d905ff831aa95c976c1783bf5939 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 12 Dec 2016 09:40:46 +0000 Subject: [PATCH] Only include the triggerWebViewWindowEvents declaration where appropriate. --- runtime/BrowserWindow.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/BrowserWindow.h b/runtime/BrowserWindow.h index 77d3d8b71..954cf7e61 100644 --- a/runtime/BrowserWindow.h +++ b/runtime/BrowserWindow.h @@ -128,7 +128,12 @@ private: void createActions(); void pause(int seconds = 1); int findURLTab(const QUrl &name); + +#ifdef __APPLE__ + #if QT_VERSION >= 0x050500 void triggerWebViewWindowEvents(QWebEnginePage::WebAction action); + #endif +#endif }; #endif // BROWSERWINDOW_H