mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-15 02:00:04 +03:00
upgrade debugMode to Abilities
This commit is contained in:
parent
aef310bf36
commit
1431feae8c
@ -815,7 +815,7 @@ Item{
|
||||
|
||||
Loader{
|
||||
anchors.fill: parent
|
||||
active: root.debugMode
|
||||
active: debug.graphicsEnabled
|
||||
|
||||
sourceComponent: Item{
|
||||
anchors.fill:parent
|
||||
|
@ -590,7 +590,7 @@ Item{
|
||||
|
||||
Loader{
|
||||
anchors.fill: parent
|
||||
active: root.debugMode
|
||||
active: appletItem.debug.graphicsEnabled
|
||||
|
||||
sourceComponent: Rectangle{
|
||||
anchors.fill: parent
|
||||
|
@ -310,7 +310,7 @@ MouseArea {
|
||||
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
active: root.debugMode
|
||||
active: root.debug.graphicsEnabled
|
||||
sourceComponent: Rectangle {
|
||||
color: "transparent"
|
||||
border.width:1
|
||||
|
@ -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{
|
||||
|
@ -311,7 +311,7 @@ MouseArea{
|
||||
|
||||
Loader{
|
||||
anchors.fill: parent
|
||||
active: latteView && latteView.debugMode
|
||||
active: taskItem.debug.graphicsEnabled
|
||||
|
||||
sourceComponent: Rectangle{
|
||||
anchors.fill: parent
|
||||
|
Loading…
x
Reference in New Issue
Block a user