1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Fix coding style

This commit is contained in:
David Rosca 2019-01-26 13:53:41 +01:00
parent 6678a98d91
commit b9c4a92aef
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -1279,8 +1279,8 @@ bool WebView::eventFilter(QObject *obj, QEvent *event)
#if QTWEBENGINEWIDGETS_VERSION >= QT_VERSION_CHECK(5, 12, 0)
QPointer<QWidget> child = qobject_cast<QWidget*>(static_cast<QChildEvent*>(event)->child());
QTimer::singleShot(0, this, [=]() {
if (child && child->inherits("QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget")) {
m_rwhvqt = child;
if (child && child->inherits("QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget")) {
m_rwhvqt = child;
#else
QTimer::singleShot(0, this, [this]() {
if (focusProxy() && m_rwhvqt != focusProxy()) {