[vlc-devel] [PATCH] removed unnecessary icon change

Abhimanyu Singh Gaur gaur.1 at iitj.ac.in
Sat Mar 12 20:03:05 CET 2016


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.
---
 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" ) );
     }
 }
 
-- 
2.1.0



More information about the vlc-devel mailing list