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