Skip to content

Commit

Permalink
make all platforms use webengine focusproxy if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Aug 19, 2023
1 parent f8c458c commit 60f9c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainUI/PreviewWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 60f9c3e

Please sign in to comment.