Remove event filter on destruction

This commit is contained in:
Graham Dawes
2019-01-21 14:42:07 +00:00
parent 55ed5e8181
commit dd62c82d30

View File

@@ -82,6 +82,7 @@ wxQtEventLoopBase::wxQtEventLoopBase()
wxQtEventLoopBase::~wxQtEventLoopBase()
{
qApp->removeEventFilter(m_qtIdleTimer);
delete m_qtIdleTimer;
}