*** zbenjamin is now known as Guest11068 | 01:41 | |
*** zbenjamin_ is now known as zbenjamin | 01:41 | |
*** frinring_ is now known as frinring | 05:38 | |
*** leinir_ is now known as leinir | 09:37 | |
thigg[m] | Nico: you were looking into an issue of me couple days ago regarding a callback loosing its scope in qml. Couldnt get it to work with signals easily either. But I tried really hard now and managed to create a proper closure. | 15:54 |
---|---|---|
Nico[m] | Well, that's good, I guess? | 15:55 |
Nico[m] | gz for figuring it out :3 | 15:55 |
thigg[m] | :) ty, yes its good | 15:55 |
thigg[m] | but its really not looking nice: | 15:56 |
thigg[m] | https://github.com/gpodder/gpodder-sailfish/blob/e4310b7c59c12bc60697836774af159e61ac243e/qml/EpisodeItem.qml#L79-L96 | 15:56 |
Nico[m] | Oh god, what did you do xD | 15:57 |
thigg[m] | thought the same :D | 15:57 |
thigg[m] | I guess it would be better if the arrow syntax would be available, because that would actually create the closure directly... | 15:59 |
Nico[m] | Well, sometimes you need ugly code .-. | 15:59 |
Nico[m] | Yeah, arrow will probably come in 10 years, when we get Qt 5.12 or so | 15:59 |
thigg[m] | :D | 15:59 |
thigg[m] | its really not too much fun working with qt 5.6 | 16:00 |
Nico[m] | I'm glad that my corner of code so far seems to not suck because of missing features, but I have a similar experience in Nheko, where we still need to support 5.10... | 16:00 |
thigg[m] | 5.9 would be enough btw ;) so only 9.5 years | 16:00 |
Nico[m] | Oh, great :D | 16:00 |
Nico[m] | Although I think the plan was to skip to 5.12 directly, since 5.9 is old too | 16:01 |
Nico[m] | I wish we had OpenSSL 1.1 though | 16:02 |
thigg[m] | I gonna use that frustration to try to get smth with rust going... ;) | 16:02 |
thigg[m] | that would be an interesting language to choose from | 16:02 |
Nico[m] | Good luck :3 | 16:03 |
thigg[m] | yeah | 16:03 |
Nico[m] | But neat that Sailfish has some rust support now | 16:03 |
thigg[m] | but thanks again for your support :) | 16:04 |
Nico[m] | Well, in the end you figured it out, I didn't do much ;p | 16:06 |
thigg[m] | sometimes you just need people to share your problems with ;) | 16:06 |
Nico[m] | Or a rubber duck :3 | 16:07 |
thigg[m] | mh also nice. So you were slightly more useful than a rubber duck, because you answered. | 16:07 |
Nico[m] | (I have like 5) | 16:07 |
Nico[m] | Thanks :D | 16:10 |
*** timeless_ is now known as timeless | 16:57 | |
*** SpeedEvil is now known as Guest78110 | 21:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!