Minor bugfix in the video lock checkbox

This commit is contained in:
jfmcarreira committed 2014-07-05 02:26:49 +01:00
1 parent 211b16d045
commit 7281e640fb
1 file changed
+4 -3
+4 -3
View File
@@ -657,12 +657,13 @@ Void plaYUVerApp::lockButtonEvent()
{
if( m_acPlayingSubWindows.contains( m_pcCurrentSubWindow ) )
{
stop();
play();
m_acPlayingSubWindows.clear();
m_acPlayingSubWindows.append(m_pcCurrentSubWindow);
}
else
{
stop();
if( m_acPlayingSubWindows.size() > 1 )
m_acPlayingSubWindows.clear();
}
}
}