[vlmc-devel] [PATCH] PreviewWidget: Cast to intptr_t on passing id to setWindowId()
yikei lu
luyikei.qmltu at gmail.com
Sat Jul 30 07:38:13 CEST 2016
I'll merge this, thanks!
2016-07-30 2:06 GMT+09:00 Paweł Goliński <golpaw1 at gmail.com>:
> 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)
>>
>
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel
More information about the Vlmc-devel
mailing list