call superclass event handlers
This commit is contained in:
parent
854ecdcf5b
commit
6777a7dc56
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user