[vlmc-devel] [PATCH 1/2] removed unnecessary icon change

Abhimanyu Singh Gaur gaur.1 at iitj.ac.in
Sun Mar 13 10:32:07 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 Vlmc-devel mailing list