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

Rémi Denis-Courmont remi at remlab.net
Mon Mar 14 03:49:16 CET 2016


Hey Abhimanyu, I think you are not posting to the right mailing list 

-- 
Rémi Denis-Courmont
Sent from my NVIDIA Tegra-powered device

----- Reply message -----
De : "Abhimanyu Singh Gaur" <gaur.1 at iitj.ac.in>
Pour : <vlc-devel at videolan.org>
Objet : [vlc-devel] [PATCH] removed unnecessary icon change
Date : sam., mars 12, 2016 11:03

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

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160313/1e27ee6f/attachment.html>


More information about the vlc-devel mailing list