upgrade debug spacers to Abilities

pull/21/head
Michail Vourlakos 4 years ago
parent 01969b86e2
commit aef310bf36

@ -89,7 +89,7 @@ Item{
}
Loader{
active: root.debugModeSpacers
active: appletItem.debug.spacersEnabled
sourceComponent: Rectangle{
width: !root.isVertical ? hiddenSpacer.width : 1

@ -62,7 +62,6 @@ Item {
////BEGIN properties
property bool debugMode: Qt.application.arguments.indexOf("--graphics")>=0
property bool debugModeSpacers: Qt.application.arguments.indexOf("--spacers")>=0
readonly property int version: LatteCore.Environment.makeVersion(0,9,75)
readonly property bool kirigamiLibraryIsFound: LatteCore.Environment.frameworksVersion >= LatteCore.Environment.makeVersion(5,69,0)

@ -92,7 +92,7 @@ Item{
}
Loader{
active: latteView && latteView.debugModeSpacers
active: taskItem.debug.spacersEnabled
sourceComponent: Rectangle{
width: !root.vertical ? hiddenSpacer.width : 1

Loading…
Cancel
Save