Cleanup all the console.log

Also renamed Github to GitHub
This commit is contained in:
quadbyte
2025-08-12 14:19:58 -04:00
parent f62a0e5f83
commit 0d196b2917
11 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ NLoader {
anchors.fill: parent
antialiasing: true
renderTarget: Canvas.FramebufferObject
onPaint: function () {
onPaint: {
const ctx = getContext("2d")
ctx.reset()
ctx.clearRect(0, 0, width, height)
+1 -1
View File
@@ -100,7 +100,7 @@ Item {
trayPanel.show()
} else {
console.log("Tray: no menu available for", modelData.id, "or trayMenu not set")
console.log("[Tray] no menu available for", modelData.id, "or trayMenu not set")
}
}
}
+3 -3
View File
@@ -17,7 +17,7 @@ NLoader {
// Ensure panel shows itself once created
Component.onCompleted: {
console.log("[DemoPanel] Component completed, showing panel...")
console.log("[DemoPanel] Component completed, showing panel")
show()
}
@@ -127,7 +127,7 @@ NLoader {
label: "Label"
description: "Description"
onToggled: function (value) {
console.log("NToggle: " + value)
console.log("[DemoPanel] NToggle:", value)
}
}
@@ -150,7 +150,7 @@ NLoader {
optionsLabels: ["Cat", "Dog", "Bird", "Monkey", "Fish", "Turtle", "Elephant", "Tiger"]
currentKey: "cat"
onSelected: function (value) {
console.log("NComboBox: selected " + value)
console.log("[DemoPanel] NComboBox: selected ", value)
}
}
+4 -4
View File
@@ -10,13 +10,13 @@ import qs.Widgets
ColumnLayout {
id: root
property string latestVersion: Github.latestVersion
property string latestVersion: GitHub.latestVersion
property string currentVersion: "v1.2.1" // Fallback version
property var contributors: Github.contributors
property var contributors: GitHub.contributors
Component.onCompleted: {
// Initialize the Github service
Github.init()
// Initialize the GitHub service
GitHub.init()
}
spacing: 0