summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-03-29 13:55:24 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-03-29 15:52:12 (GMT)
commit0c5524e73848b95276f13c384d2c711188936deb (patch)
treea77b125f23f5acfaeca73a383d2f96df746c405b /src/gui
parent32a182c25104e6e49fc965a168957acff52a2b53 (diff)
downloadQt-0c5524e73848b95276f13c384d2c711188936deb.zip
Qt-0c5524e73848b95276f13c384d2c711188936deb.tar.gz
Qt-0c5524e73848b95276f13c384d2c711188936deb.tar.bz2
Fixed crash in Phonon MMF backend during application shutdown
During application shutdown, DsaVideoPlayer::handleVideoWindowChanged is called. At this point, the application's main window has been closed and therefore QApplication::activeWindow() returns 0. This leads to a crash. This patch ensures that a null return value from QApplication::activeWindow(), and the resulting zero value of DsaVideoPlayer::m_window, are handled gracefully. Reviewed-by: Frans Englich
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions