mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Cleanup all the console.log
Also renamed Github to GitHub
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user