[vlmc-devel] [PATCH] PreviewWidget: Cast to intptr_t on passing id to setWindowId()

Paweł Goliński golpaw1 at gmail.com
Fri Jul 29 19:06:44 CEST 2016


Please merge this - I have to work
with those patches applied and things
get messed up when I switch branches :/

> Wiadomość napisana przez Pawel Golinski <golpaw1 at gmail.com> w dniu 20.07.2016, o godz. 22:51:
> 
> ---
> src/Gui/preview/PreviewWidget.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/Gui/preview/PreviewWidget.cpp b/src/Gui/preview/PreviewWidget.cpp
> index 6582f4c..f076663 100644
> --- a/src/Gui/preview/PreviewWidget.cpp
> +++ b/src/Gui/preview/PreviewWidget.cpp
> @@ -73,7 +73,7 @@ PreviewWidget::setRenderer( AbstractRenderer* renderer )
>     // Give the renderer to the ruler
>     m_ui->rulerWidget->setRenderer( m_renderer );
>     auto output = new Backend::MLT::MLTSdlOutput;
> -    output->setWindowId( m_ui->renderWidget->id() );
> +    output->setWindowId( (intptr_t)m_ui->renderWidget->id() );
>     m_renderer->setOutput( std::unique_ptr<Backend::IOutput>( output ) );
> 
> #if defined ( Q_OS_MAC )
> -- 
> 2.7.4 (Apple Git-66)
> 



More information about the Vlmc-devel mailing list