Fix focus policy propagation in QCompleter on QWS
authorPaul Olav Tvete <paul.tvete@nokia.com>
Thu, 10 Sep 2009 09:34:39 +0000 (11:34 +0200)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Thu, 10 Sep 2009 09:54:30 +0000 (11:54 +0200)
commit7691e70a130df66e4597c9fe1ada03496c8c5ba0
tree80d22a2d969d5ee18932878f4c6862fdd10f05ab
parent199ef040b29953a1f0ca694b1430564571e744fe
Fix focus policy propagation in QCompleter on QWS

setParent(0) can change the focus policy, so let's retrieve the original
value a bit earlier.

Reviewed-by: jasplin
src/gui/util/qcompleter.cpp