From 60f9c3e1545e8486e4536a227e9f5801f011e82c Mon Sep 17 00:00:00 2001 From: Kevin Hendricks Date: Fri, 18 Aug 2023 22:41:04 -0400 Subject: [PATCH] make all platforms use webengine focusproxy if needed --- src/MainUI/PreviewWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainUI/PreviewWindow.cpp b/src/MainUI/PreviewWindow.cpp index 3c8dbf564a..cd21eaf8eb 100644 --- a/src/MainUI/PreviewWindow.cpp +++ b/src/MainUI/PreviewWindow.cpp @@ -229,7 +229,7 @@ void PreviewWindow::SetupView() // QWebEngineView events are routed to their parent m_Preview->installEventFilter(this); -#if !defined(Q_OS_WIN32) && !defined(Q_OS_MAC) +#if 1 //!defined(Q_OS_WIN32) && !defined(Q_OS_MAC) // this may be needed by all platforms in the future QWidget * fp = m_Preview->focusProxy(); if (fp) fp->installEventFilter(this);