[vlmc-devel] removed unnecessary icon change

Abhimanyu Singh Gaur git at videolan.org
Mon Mar 14 21:31:40 CET 2016


vlmc | branch: master | Abhimanyu Singh Gaur <gaur.1 at iitj.ac.in> | Sun Mar 13 15:20:07 2016 +0530| [cd1a5706ae6d5cc7137cfd2105660a34c624f5e3] | committer: Hugo Beauzée-Luyssen

removed unnecessary icon change

On clicking the stop button in project preview, after playing a media, the icon of play button was already getting changed through connected signal. So there was no need to change it again.

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlmc/commit/cd1a5706ae6d5cc7137cfd2105660a34c624f5e3
---

 src/Gui/preview/PreviewWidget.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/Gui/preview/PreviewWidget.cpp b/src/Gui/preview/PreviewWidget.cpp
index 5547e53..f5bc00b 100644
--- a/src/Gui/preview/PreviewWidget.cpp
+++ b/src/Gui/preview/PreviewWidget.cpp
@@ -190,7 +190,6 @@ PreviewWidget::stop()
     {
         m_previewStopped = true;
         m_renderer->stop();
-        m_ui->pushButtonPlay->setIcon( QIcon( ":/images/play" ) );
     }
 }
 



More information about the Vlmc-devel mailing list