]> git.sesse.net Git - vlc/commit
Qt: try to avoid a potential race condition
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 Jan 2010 11:31:42 +0000 (12:31 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 Jan 2010 11:31:42 +0000 (12:31 +0100)
commit5ebb3da913cfe7aa14201eb86321cd5a9dc7978d
treec71f8e196bbc0aaeb64ee511633920490beaae44
parent13bfe4cc22b4c334f639fdec386bbd8419ecd80f
Qt: try to avoid a potential race condition

If we receive a currentChanged, and currentView ain't set, we might crash in
handleExpansion

Crashes have happened at
StandardPLPanel::handleExpansion (this=<value optimized out>, index=@0x406b56a0) at
components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp