Bugfix: change play/pause icon when changing window

This commit is contained in:
jfmcarreira committed 2014-10-04 18:41:19 +01:00
1 parent 60b82a0bf0
commit db2737d9a0
1 file changed
+4
+4
View File
@@ -862,6 +862,10 @@ Void plaYUVerApp::chageSubWindowSelection()
updateStreamProperties();
updateFrameProperties();
updateZoomFactorSBox();
if( m_pcCurrentSubWindow->isPlaying() )
m_arrayActions[PLAY_ACT]->setIcon( style()->standardIcon( QStyle::SP_MediaPause ) );
else
m_arrayActions[PLAY_ACT]->setIcon( style()->standardIcon( QStyle::SP_MediaPlay ) );
}
m_pcCurrentSubWindow = new_window;
}