From c22da29492a59cda41ac4ef1fd4d7d426053cbfa Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 21 Oct 2014 01:14:15 +0100 Subject: [PATCH] Fix play/pause button --- source/app/plaYUVerApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/plaYUVerApp.cpp b/source/app/plaYUVerApp.cpp index 2834add..ea7ed47 100644 --- a/source/app/plaYUVerApp.cpp +++ b/source/app/plaYUVerApp.cpp @@ -890,7 +890,7 @@ Void plaYUVerApp::chageSubWindowSelection() updateFrameProperties(); updateZoomFactorSBox(); - if( m_acPlayingSubWindows.contains( m_pcCurrentSubWindow ) ) + 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 ) );