Qualify shell palette references for Qt 6.12 (#14553)

This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2026-10-08 10:27:08 +02:00
1 parent 902fd8aebd
commit b83d3df084
74 files changed
+381 -293

No files matched your search

@@ -1,6 +1,7 @@
import QtQuick
import Quickshell
import qs.Commons
import qs.Commons as Commons
import "background" as BackgroundPlugin
ShellRoot {
@@ -24,10 +25,10 @@ ShellRoot {
interval: 1300
running: true
onTriggered: {
if (Qt.colorEqual(Color.accent, "#123456")) {
if (Qt.colorEqual(Commons.Color.accent, "#123456")) {
console.log("RESULT pass")
} else {
console.log("RESULT fail previous colors returned: " + Color.accent)
console.log("RESULT fail previous colors returned: " + Commons.Color.accent)
}
Qt.quit()
}
@@ -2,6 +2,7 @@ import QtQuick
import Quickshell
import Quickshell.Networking
import qs.Commons
import qs.Commons as Commons
import "mocks"
import "network" as Network
@@ -21,9 +22,9 @@ ShellRoot {
Network.Panel {
id: panel
bar: QtObject {
property color foreground: Color.foreground
property color barForeground: Color.foreground
property color urgent: Color.urgent
property color foreground: Commons.Color.foreground
property color barForeground: Commons.Color.foreground
property color urgent: Commons.Color.urgent
property string fontFamily: Style.font.family
property string position: "top"
property int barSize: 24
@@ -1,6 +1,7 @@
import QtQuick
import Quickshell
import qs.Commons
import qs.Commons as Commons
import "mocks"
import "network" as Network
import "network/Model.js" as Model
@@ -25,9 +26,9 @@ ShellRoot {
Network.Panel {
id: panel
bar: QtObject {
property color foreground: Color.foreground
property color barForeground: Color.foreground
property color urgent: Color.urgent
property color foreground: Commons.Color.foreground
property color barForeground: Commons.Color.foreground
property color urgent: Commons.Color.urgent
property string fontFamily: Style.font.family
property string position: "top"
property int barSize: 24