diff --git a/source/app/ViewArea.cpp b/source/app/ViewArea.cpp index e40feef..dbba02c 100644 --- a/source/app/ViewArea.cpp +++ b/source/app/ViewArea.cpp @@ -139,6 +139,7 @@ Void ViewArea::zoomChangeEvent( Double factor, QPoint center ) setZoomFactor( zoomFactor ); emit zoomFactorChanged( factor, center ); + } void ViewArea::setMode( ViewMode mode ) diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index 2f11728..0bb3359 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -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(); } } }