The following small code snippet:
results in the output "Application asked to unregister timer 0x2000001 which is not registered in this thread. Fix application."
The output is misleading, what is happening is that a timer is unregistered twice, once by ~QObject and once by ~QHeaderViewPrivate->~QBasicTimer
The attached patch fixes the warning.