Make sure we release IAdviseSink interface
authorJian Liang <jianliang79@gmail.com>
Wed, 29 Feb 2012 01:04:34 +0000 (09:04 +0800)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 11:24:00 +0000 (12:24 +0100)
commit99a30ca4ce33c40ba5a469a6f47f5905108381f4
treef47bb6a399914d7f6d47a81e175f97cd0d527d93
parent78faf96e5fd4bf6c1f37aa7f89229fa9bf3dd70d
Make sure we release IAdviseSink interface

IAdviseSink interface is not released if spViewObject is 0 in
QAxClientSite::activateObject(). This patch fix this problem.

Change-Id: I5d215e18468660eab59ef69e6fd71405337264b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
src/activeqt/container/qaxwidget.cpp