[vlc-devel] [PATCH 2/2] qt: fix compilation on Qt4

KO Myung-Hun komh78 at gmail.com
Wed Dec 21 01:53:13 CET 2016



Francois Cartegnie wrote:
> Le 20/12/2016 à 13:37, KO Myung-Hun a écrit :
>>          if( !program->eventsbytime.isEmpty() )
>>          {
>> +#if QT_VERSION >= 0x050200
>>              const EPGItem *last = program->eventsbytime.last();
>> +#else
>> +            const EPGItem *last = (program->eventsbytime.end() - 1).value();
>> +#endif
> 
> I think a raw replacement is better.
> 

Like this ?

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-qt-fix-compilation-on-Qt4.patch
Type: application/x-patch
Size: 961 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20161221/240a0619/attachment.bin>


More information about the vlc-devel mailing list