kwin/kcmkwin
Ismael Asensio a158d3cbd3 Rules kcm: Use new property ComboBox.currentValue
Summary:
Use the properties `valueRole` and `currentValue`, introduced in Qt5.14 for `QQC2.ComboBox`

This didn't work before due to QQC2 version being mis-detected at build time, so the code mocked an internal `currentValue` property.

After D28859, it is now required to fix:
   "file:///home/nate/kde/usr/share/kpackage/kcms/kcm_kwinrules/contents/ui/RulesEditor.qml"
   "Error loading QML file.\n42: Type RuleItemDelegate unavailable\n68: Type OptionsComboBox unavailable\n35: Cannot override FINAL property\n"
   QCoreApplication::postEvent: Unexpected null receiver

Test Plan:
Try to edit a rule or add a new one.
The rule editor page shows.

Reviewers: ngraham, #kwin, zzag

Reviewed By: ngraham, #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D29145
2020-04-24 15:09:51 +02:00
..
common [kcmkwin] Remove redundant lambda 2020-03-30 19:39:09 +03:00
kwincompositing GIT_SILENT Fix scripty failing 2020-04-21 23:11:15 +02:00
kwindecoration SVN_SILENT made messages (.desktop file) - always resolve ours 2020-03-27 06:43:00 +01:00
kwindesktop Merge branch 'Plasma/5.18' 2020-03-29 18:17:54 -06:00
kwineffects SVN_SILENT made messages (.desktop file) - always resolve ours 2020-03-27 06:43:00 +01:00
kwinoptions Reduce the amount of objects that are compiled several times 2020-04-02 00:41:55 +02:00
kwinrules Rules kcm: Use new property ComboBox.currentValue 2020-04-24 15:09:51 +02:00
kwinscreenedges KCM KWinScreenEdge fix build issue 2020-04-23 08:48:25 +02:00
kwinscripts kcmkwin/scripts: make default button work 2020-03-13 11:08:56 +01:00
kwintabbox KCM KWinTabbox disable widget if property is immutable. 2020-04-14 14:08:36 +02:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00