FYI: QCocoaMenu: Stop update timer 
(Merged)<https://codereview.qt-project.org/203791>

Best regards,

Dr. Gabriel de Dietrich
Senior Software Developer
The Qt Company

On Aug 29, 2017, at 9:00 AM, Thiago Macieira 
<thiago.macie...@intel.com<mailto:thiago.macie...@intel.com>> wrote:

On Monday, 28 August 2017 17:06:18 PDT René J.V. Bertin wrote:
       killTimer(m_updateTimer);

before setting m_updateTimer=0? Whether or not it's appropriate, this does
solve the CPU burning for me.

Yeah, if you don't kill the timer, it will keep firing.

--
Thiago Macieira - thiago.macieira (AT) intel.com<http://intel.com>
 Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development@qt-project.org<mailto:Development@qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to