[vlmc-devel] [PATCH] Use simple disconnect
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Mon Apr 4 10:20:28 CEST 2016
On 04/02/2016 01:32 PM, Yikai Lu wrote:
> ---
> src/Gui/preview/PreviewRuler.cpp | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/src/Gui/preview/PreviewRuler.cpp b/src/Gui/preview/PreviewRuler.cpp
> index 6fdc15b..e69b3d3 100644
> --- a/src/Gui/preview/PreviewRuler.cpp
> +++ b/src/Gui/preview/PreviewRuler.cpp
> @@ -41,9 +41,7 @@ void
> PreviewRuler::setRenderer( GenericRenderer* renderer )
> {
> if ( m_renderer )
> - {
> - disconnect( m_renderer, SIGNAL( frameChanged(qint64, Vlmc::FrameChangedReason ) ) );
> - }
> + m_renderer->disconnect( this );
> m_renderer = renderer;
>
> connect( m_renderer, SIGNAL( frameChanged( qint64, Vlmc::FrameChangedReason ) ),
>
Applied, thanks!
More information about the Vlmc-devel
mailing list