Remove event filter on destruction
This commit is contained in:
@@ -82,6 +82,7 @@ wxQtEventLoopBase::wxQtEventLoopBase()
|
|||||||
|
|
||||||
wxQtEventLoopBase::~wxQtEventLoopBase()
|
wxQtEventLoopBase::~wxQtEventLoopBase()
|
||||||
{
|
{
|
||||||
|
qApp->removeEventFilter(m_qtIdleTimer);
|
||||||
delete m_qtIdleTimer;
|
delete m_qtIdleTimer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user