[kwinrules] Avoid shadowing FINAL property
AbandonedPublic

Authored by davidedmundson on Apr 25 2020, 4:57 PM.

Details

Reviewers
None
Group Reviewers
KWin
Summary

In Qt5.15 currentValue is a FINAL property meaning that shadowing it is
a fatal eror.

Also this patch slightly more gracefully handles QML errors. Asserting
instead of crash.

Test Plan

Used against Qt5.15 git compiled qqc2-desktop-style

Diff Detail

Repository
R108 KWin
Branch
davidedmundson/wl_temp
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25885
Build 25903: arc lint + arc unit
davidedmundson created this revision.Apr 25 2020, 4:57 PM
Restricted Application added a project: KWin. · View Herald TranscriptApr 25 2020, 4:57 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.Apr 25 2020, 4:57 PM

Hi @davidedmundson, with D29145 all of the offending code has been removed, to just use QQC2.ComboBox.currentValue directly.

davidedmundson abandoned this revision.Apr 25 2020, 5:28 PM

cool cool