1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-15 17:57:50 +03:00

upgrade debugMode to Abilities

This commit is contained in:
Michail Vourlakos 2020-11-29 23:33:42 +02:00
parent aef310bf36
commit 1431feae8c
5 changed files with 5 additions and 7 deletions

View File

@ -815,7 +815,7 @@ Item{
Loader{
anchors.fill: parent
active: root.debugMode
active: debug.graphicsEnabled
sourceComponent: Item{
anchors.fill:parent

View File

@ -590,7 +590,7 @@ Item{
Loader{
anchors.fill: parent
active: root.debugMode
active: appletItem.debug.graphicsEnabled
sourceComponent: Rectangle{
anchors.fill: parent

View File

@ -310,7 +310,7 @@ MouseArea {
Loader {
anchors.fill: parent
active: root.debugMode
active: root.debug.graphicsEnabled
sourceComponent: Rectangle {
color: "transparent"
border.width:1

View File

@ -61,8 +61,6 @@ Item {
//// END SIGNALS
////BEGIN properties
property bool debugMode: Qt.application.arguments.indexOf("--graphics")>=0
readonly property int version: LatteCore.Environment.makeVersion(0,9,75)
readonly property bool kirigamiLibraryIsFound: LatteCore.Environment.frameworksVersion >= LatteCore.Environment.makeVersion(5,69,0)
@ -1312,7 +1310,7 @@ Item {
Loader{
anchors.fill: parent
active: root.debugMode
active: debug.graphicsEnabled
z:10
sourceComponent: Item{

View File

@ -311,7 +311,7 @@ MouseArea{
Loader{
anchors.fill: parent
active: latteView && latteView.debugMode
active: taskItem.debug.graphicsEnabled
sourceComponent: Rectangle{
anchors.fill: parent