QCocoaMenu: Stop update timer
This amends patch f27d1ccbb2
.
Change-Id: I4c7a390a5f2cdd3307007c7b6708692c36f861b4
Task-number: QTBUG-62396
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
ea168ead1a
commit
48784486a3
@ -427,6 +427,7 @@ void QCocoaMenu::scheduleUpdate()
|
||||
void QCocoaMenu::timerEvent(QTimerEvent *e)
|
||||
{
|
||||
if (e->timerId() == m_updateTimer) {
|
||||
killTimer(m_updateTimer);
|
||||
m_updateTimer = 0;
|
||||
[m_nativeMenu update];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user