From 6777a7dc56f603ca7c9bb5d74de4094bfe501bc0 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 27 Feb 2013 14:51:12 +0100 Subject: [PATCH] call superclass event handlers --- src/declarativeimports/core/dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/core/dialog.cpp b/src/declarativeimports/core/dialog.cpp index 812f565ac..b225a313d 100644 --- a/src/declarativeimports/core/dialog.cpp +++ b/src/declarativeimports/core/dialog.cpp @@ -444,16 +444,16 @@ void DialogProxy::setAttribute(int attribute, bool on) void DialogProxy::focusInEvent(QFocusEvent *ev) { - Q_UNUSED(ev) m_activeWindow = true; emit activeWindowChanged(); + QQuickWindow::focusInEvent(ev); } void DialogProxy::focusOutEvent(QFocusEvent *ev) { - Q_UNUSED(ev) m_activeWindow = false; emit activeWindowChanged(); + QQuickWindow::focusOutEvent(ev); } #include "dialog.moc"