path: root/src/corelib/kernel
diff options
authorRichard Moe Gustavsen <>2015-03-16 15:54:24 +0100
committerRichard Moe Gustavsen <>2015-03-16 15:38:37 +0000
commit60ac5957d34b673c8e851c7b5b01b9cc0b1f00d8 (patch)
tree3609294ed2866716258147b1f3f10439b3180c6a /src/corelib/kernel
parent8fe016158fb4a9f96d97ec2f2617e76d753c6a9f (diff)
iOS: stop listening for keyboard visibility after QIOSMenu::dismiss()
We used to stop listening for keyboard visibility when quipickerview was deallocated. The problem with that approach is that we don't have a guarantee for when dealloc gets called. So what can happen is that we get a call from Qt to dismiss the menu. That causes us to close the keyboard, which will trigger the notification, which will call dismiss recursively. This will hit our assert checking if we have a valid picker view. This patch will unsubscribe to the notification explicitly upon a call to dismiss, to avoid recursive dismiss calls. Change-Id: If1efa3438037e00a02bc186fdcb6c0b3d3d595e4 Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions