Commit 492890a0 authored by Marco Martin's avatar Marco Martin

workaround for Qt 5.7

the checkable property doesn't exist in 5.7 (and it acts like its always true)
manually set it in 5.8 on oncompleted, in 5.7 that call will fail without breaking whole systemsettings
parent c12ff4a4
......@@ -90,7 +90,9 @@ Kirigami.ScrollablePage {
}
}
checked: systemsettings.activeSubCategory == index
checkable: false
//checkable: false
//FIXME: Qt 5.7 doesn't have checkable, this way fails at runtime but still works correctly on 5.7
Component.onCompleted: delegate.checkable = true;
Keys.onPressed: {
switch (event.key) {
case Qt.Key_Up:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment