[KF5 port] Source of sigfault found, not understood

Olivier Churlaud olivier at churlaud.com
Wed Oct 21 13:01:30 UTC 2015


Hi

> Le 21 oct. 2015 à 13:42, Myriam Schweingruber <myriam at pharma-traduction.ch> a écrit :
> 
> Hi Olivier,
> 
>> On Wed, Oct 21, 2015 at 12:39 PM, Olivier Churlaud <olivier at churlaud.com> wrote:
>> I think I found the source of the error:
>> 
>> TrackRole is defined as Qt::UserRole which was 32 in qt4 and which now is
>> 0x100 = 246 =  Playlist::GroupRole
>> 
>> So we have this strange loop...
>> 
>> I tried with Playlist::GroupRole = 0x1000 and it works (for this part). Is
>> it ok if I leave it like this?
> UserRole and GroupRole are not exactly the same thing, will this not
> make the Playlist behave differently? Not sure if changing behavior is
> a good idea at this stage...
We need to change this because the update qt4->qt5 let the 2 tags have the same value, which is not wanted. The question is about the value I arbitrary put. I'll put the changes on the review board when the next error will be found (and corrected).

> Regards,  
> -- 
> Protect your freedom and join the Fellowship of FSFE:
> http://www.fsfe.org
> Please don't send me proprietary file formats,
> use ISO standard ODF instead (ISO/IEC 26300)
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel


More information about the Amarok-devel mailing list