call superclass event handlers

This commit is contained in:
Marco Martin 2013-02-27 14:51:12 +01:00
parent 854ecdcf5b
commit 6777a7dc56

View File

@ -444,16 +444,16 @@ void DialogProxy::setAttribute(int attribute, bool on)
void DialogProxy::focusInEvent(QFocusEvent *ev) void DialogProxy::focusInEvent(QFocusEvent *ev)
{ {
Q_UNUSED(ev)
m_activeWindow = true; m_activeWindow = true;
emit activeWindowChanged(); emit activeWindowChanged();
QQuickWindow::focusInEvent(ev);
} }
void DialogProxy::focusOutEvent(QFocusEvent *ev) void DialogProxy::focusOutEvent(QFocusEvent *ev)
{ {
Q_UNUSED(ev)
m_activeWindow = false; m_activeWindow = false;
emit activeWindowChanged(); emit activeWindowChanged();
QQuickWindow::focusOutEvent(ev);
} }
#include "dialog.moc" #include "dialog.moc"